This post is to inform everyone that we've uncovered a bug in Microsoft Visual Studio Update 17.2.x that prevents the SourceGear Vault Extension from working properly in that update.
Until Microsoft addresses the issue or we've been able to find and code a work-around to the problem, Customers wishing to keep using Vault integration within Visual Studio 2022 are encouraged to stay on Visual Studio 2022 Update 17.1.7 or lower. Note, Update 17.1.7 was released May 10, 2022.
Stay tuned to this thread for further announcements.
Vault Extension for Visual Studio 2022
Moderator: SourceGear
Vault Extension for Visual Studio 2022
Jeff Clausius
SourceGear
SourceGear
Re: Vault Extension for Visual Studio 2022
We've isolated the problem in Visual Studio 17.2.0 and 17.2.1. The Vault Extension has a sub-extension that handles the authentication portion of the Vault client. When the Vault Extension is loaded, it registers this type with the object to use if another Vault service requests its usage.
In Visual Studio 17.0 through Visual Studio 17.1.7, later on when the Vault Client requests this service to get an authentication token to send to the Vault Server from a Vault related operation, Visual Studio returns the Service object which handles this. Starting with Visual Studio 17.2.0, this same code now returns NULL. We're not sure why that is the case. A report has been filed with Microsoft regarding the problem.
Until Microsoft responds, as of this posting Visual Studio 2022 Updates 17.0 through 17.1.7 are the only Visual Studio updates which will work with the Vault Extension for Visual Studio 2022. See https://docs.microsoft.com/en-us/visual ... tstrappers for Visual Studio 2022 17.1 .x bootstrap installers - either the regular release build 17.1.32428.221 or the LTSC version build 17.0.32428.209.
In Visual Studio 17.0 through Visual Studio 17.1.7, later on when the Vault Client requests this service to get an authentication token to send to the Vault Server from a Vault related operation, Visual Studio returns the Service object which handles this. Starting with Visual Studio 17.2.0, this same code now returns NULL. We're not sure why that is the case. A report has been filed with Microsoft regarding the problem.
Until Microsoft responds, as of this posting Visual Studio 2022 Updates 17.0 through 17.1.7 are the only Visual Studio updates which will work with the Vault Extension for Visual Studio 2022. See https://docs.microsoft.com/en-us/visual ... tstrappers for Visual Studio 2022 17.1 .x bootstrap installers - either the regular release build 17.1.32428.221 or the LTSC version build 17.0.32428.209.
Jeff Clausius
SourceGear
SourceGear
Re: Vault Extension for Visual Studio 2022
Latest update (June 8, 2022) - The Microsoft developer evaluating the issue seems to believe the problem is not in the Vault Extension itself, but rather a change made to the VSIX Installer and how it registers "Sub" Vault Extensions used / packaged within the Vault Extension. Again this works in the Visual Studio 17.1.x code base.
The developer has passed the issue to the team working on the VSIX Installer, and they are supposedly going to follow up with more questions.
The developer has passed the issue to the team working on the VSIX Installer, and they are supposedly going to follow up with more questions.
Jeff Clausius
SourceGear
SourceGear