Hi,
I think, u r using two different versions for 'VS 2012' & 'TFS 2010 SP1'.
Use 'VS 2010' with "TFS 2010 Sp1', you will be able to configure properly.
or
Use 'VS 2012' with "TFS 2012', you will be able to configure properly.
any more query, then let me know.
If u found my reply as useful then pls. click on 'proposed answer' link for 'my reply'