Vault Professional Extension for Visual Studio 2022

If you are having a problem using Vault, post a message here.
Post Reply
jclausius
Posts: 3688
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Vault Professional Extension for Visual Studio 2022

Post by jclausius » Fri May 20, 2022 1:25 pm

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.
Jeff Clausius
SourceGear

jclausius
Posts: 3688
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Re: Vault Professional Extension for Visual Studio 2022

Post by jclausius » Thu May 26, 2022 8:15 am

I'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, 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

jclausius
Posts: 3688
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Re: Vault Professional Extension for Visual Studio 2022

Post by jclausius » Wed Jun 08, 2022 12:25 pm

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.
Jeff Clausius
SourceGear

Post Reply