How to use VersionControlEx in Visual Studio 2017?

I have a Visual Studio 2013 extension that references Microsoft.VisualStudio.TeamFoundation.VersionControl.dll from which the following type can be obtained:

Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlEx

Today I uninstalled all previous installations of Visual Studio, and then installed Visual Studio 2017 Enterprise with the ".NET desktop development" and "Visual Studio extension development" options.

I opened the project using Visual Studio 2017 and had to replace some links (EnvDTE, envdte80, Microsoft.VisualStudio.Shell.15, etc.), and also installed the nuget package Microsoft.TeamFoundation.VersionControl.All .

Unfortunately, the namespace Microsoft.VisualStudio.TeamFoundationand therefore are VersionControlExnot recognized.

I searched for a file on my machine with FileLocator Lite and it does not exist.

Any idea how this has changed in Visual Studio 2017?

Mostly I get access to the PendingChanges window.

Thanks in advance.

+4
source share
1 answer

Performing a search, I was able to find the file there:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer

I also found copies related to other versions of Visual Studio. Given the file path, it appears to be included with Team Explorer.

, , , Visual Studio, Visual Studio 2017 Team Explorer. Visual Studio , , .

+1

Source: https://habr.com/ru/post/1671812/


All Articles