Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To access TFS Server 2010 in an application developed in VS2019/VS2022, follow these steps:

  1. Open Visual Studio 2019/2022.
  2. Create a new project or open an existing project that requires access to TFS Server 2010.
  3. Right-click on the project in the Solution Explorer and select "Add -> Existing Item".
  4. Browse to the location of the TFS Server 2010 DLLs and select the appropriate DLLs. These DLLs will typically be located in the following folder: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v4.0\
  5. After adding the DLLs, right-click on the project in the Solution Explorer and select "Properties".
  6. In the properties window, select the "Build" tab.
  7. In the "Platform target" dropdown, select "x64" or "x86" depending on your system configuration.
  8. Click on the "Apply" button to save your changes.
  9. Close the properties window.
  10. To use TFS Server 2010 in your application, you will need to create a TFS connection object and use it to connect to the server. Consult the TFS Server 2010 documentation for more information on how to do this.