Answered Where is the TeamFoundationServer SDK

  • Monday, July 23, 2012 11:24 PM
     
     

    Hello,

    I've been using TFS 2010 for some time.  I have an application that uses the TFS SDK (Microsoft.TeamFoundation.*) modules.

    On my new machine where I've installed TFS 2012, it can't find any of these modules.

    Where do I get the TFS SDK?  It didn't install as part of the VS 2012 Ultimate install.

    - Bruce


    Bruce

All Replies

  • Tuesday, July 24, 2012 2:44 AM
    Moderator
     
     

    Hi Bruce,

    You can find these TFS related DLLs in the path: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies

    Thanks,


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us

  • Wednesday, July 25, 2012 8:14 AM
     
     Answered

    If following assemblies do not appear on the .NET tab of the References dialog box, use the Browse tab to add the assemblies from C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ReferenceAssemblies\v2.0

    Microsoft.TeamFoundation.Client
    Microsoft.TeamFoundation.Common
    Microsoft.TeamFoundation.WorkItemTracking.Client
    Microsoft.TeamFoundation.WorkItemTracking.Common
    Microsoft.TeamFoundation.WorkItemTracking.Proxy

    Extending Team Foundation: http://msdn.microsoft.com/en-us/library/bb130146(v=vs.110).aspx


    Regards,
    Vikram Agrawal,
    Developer, VSTLM, Microsoft Corporation

    • Marked As Answer by BABRC Wednesday, October 24, 2012 4:51 PM
    •  
  • Monday, July 30, 2012 8:00 PM
     
     

    Hello,

    This doesn't work.

    Have modules moved around between Dev Studio 2010 and 2012?  I can build just fine in 2010, but I get all kinds of errors, as mentioned, when I build with the same projects and solution with Dev Studio 2012. 

    - Bruce


    Bruce


    • Edited by BABRC Monday, July 30, 2012 8:01 PM
    •  
  • Wednesday, August 01, 2012 2:25 AM
    Moderator
     
     Answered

    Hi Bruce,

    Could you please offer me the detailed error message you got?

    Thanks.


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us

    • Marked As Answer by BABRC Wednesday, October 24, 2012 4:52 PM
    •  
  • Wednesday, August 01, 2012 7:57 PM
     
     

    Error    20    The type or namespace name 'Client' does not exist in the namespace 'Microsoft.TeamFoundation' (are you missing an assembly reference?)    C:\Users\bcutler\Documents\Visual Studio 2012\Projects\TfsTools\ProjectCollection.cs    7    32    TfsTools

    Here are my references:


    Bruce


    References
    • Edited by BABRC Wednesday, August 01, 2012 7:59 PM
    •  
  • Wednesday, August 01, 2012 7:59 PM
     
     

    I'm also getting lots of these:

    Warning    11    The currently targeted framework ".NETFramework,Version=v4.0,Profile=Client" does not include "System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which the referenced assembly "Microsoft.TeamFoundation.VersionControl.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.    TfsTools


    Bruce

  • Thursday, August 02, 2012 7:49 AM
    Moderator
     
     Answered

    Hi Bruce,

    You can find the Microsoft.TeamFoundation.Client.dll and Microsoft.TeamFoundation.Discussion.Client.dll in the path: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ReferenceAssemblies\v2.0. And I think you can try first remove these references and then re-add them.

    And for the warning you get, do you set the Target Framework to .NET Framework 4.0? If so, please change it to 4.5 so you can load and use these .NET 4.5 assemblies successfully.

    Thanks.


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us

    • Marked As Answer by BABRC Wednesday, October 24, 2012 4:52 PM
    •  
  • Friday, August 03, 2012 7:56 PM
     
     

    Thanks Vicky,

    I'll try this later.  I'm in the middle of another project right now, but I will soon be able to get back to this, because it will become critical again soon.

    - Bruce


    Bruce