You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is Tina from the Visual Studio Extensibility team. I’m reaching out to you because we’ve received the following, high-priority feedback ticket for VS 2022: Visual Studio Feedback
We determined that this issue is the result of extension(s) not being updated to Visual Studio 2022 properly due to marking VS 2022 as compatible in the VSIX manifest but not referencing the new SDK PIA (Microsoft.VisualStudio.Interop.dll) and dependencies. We’ve identified that one of your extensions contributes to this issue:
• Codist Navbar
We strongly recommend that you update and re-publish your VSIX with the new VS 2022-compatible references, including EnvDTE.
Our investigation of the existing issue is that this happens when VS 2015 and VS 2022 are installed side by side, which is why it only occurred for a subset of customers. Nevertheless, referencing older versions of VSSDK assemblies is not supported, especially for the APIs and types that we’ve listed as breaking or altered. If you are doing so and find that your extensions work today, we make no guarantees that they will continue to work in the future. Extension authors could also find themselves in a situation where their extensions negatively impacts users due to untested workflows. From the product team’s perspective, we do not promise support to extension authors who do not follow our recommendation, and reference older versions of VSSDK. We also reserve the right to mark these extensions as incompatible should we find that VS is negatively affected by them. For the time being, instead of making VSIXValidator hard block any extensions that reference older assemblies, we will do a soft block and warn extension owners. And since this particular scenario is niche enough that it only affects side by side installs, we will not be marking them as incompatible, yet.
We will be pushing out changes in the coming months to warn both extension authors as well as extension consumers if they are creating or using an extension that are built with older versions of the VSSDK. We will share more details about this in the future.
Q: How can I validate whether my extension has dependencies on the old PIAs assembly?
A: You can try to validate the extension’s reference by following the steps below
Open the Developer command prompt.
Run the command ildasm as below.
o C:>ildasm /text "{Extension Assembly}.dll" /output:result.txt
This version does not install on VS 2015. However, if some users have both VS 2015 and VS 2022 installed, it can cause some problem...
Is there a way to have it run on VS 2022 and older versions without releasing two VSIXes?
This is Tina from the Visual Studio Extensibility team. I’m reaching out to you because we’ve received the following, high-priority feedback ticket for VS 2022: Visual Studio Feedback
We determined that this issue is the result of extension(s) not being updated to Visual Studio 2022 properly due to marking VS 2022 as compatible in the VSIX manifest but not referencing the new SDK PIA (Microsoft.VisualStudio.Interop.dll) and dependencies. We’ve identified that one of your extensions contributes to this issue:
• Codist Navbar
We strongly recommend that you update and re-publish your VSIX with the new VS 2022-compatible references, including EnvDTE.
Our investigation of the existing issue is that this happens when VS 2015 and VS 2022 are installed side by side, which is why it only occurred for a subset of customers. Nevertheless, referencing older versions of VSSDK assemblies is not supported, especially for the APIs and types that we’ve listed as breaking or altered. If you are doing so and find that your extensions work today, we make no guarantees that they will continue to work in the future. Extension authors could also find themselves in a situation where their extensions negatively impacts users due to untested workflows. From the product team’s perspective, we do not promise support to extension authors who do not follow our recommendation, and reference older versions of VSSDK. We also reserve the right to mark these extensions as incompatible should we find that VS is negatively affected by them. For the time being, instead of making VSIXValidator hard block any extensions that reference older assemblies, we will do a soft block and warn extension owners. And since this particular scenario is niche enough that it only affects side by side installs, we will not be marking them as incompatible, yet.
We will be pushing out changes in the coming months to warn both extension authors as well as extension consumers if they are creating or using an extension that are built with older versions of the VSSDK. We will share more details about this in the future.
Q: How can I validate whether my extension has dependencies on the old PIAs assembly?
A: You can try to validate the extension’s reference by following the steps below
o C:>ildasm /text "{Extension Assembly}.dll" /output:result.txt
For more info on how to migrate your extension to VS 2022 successfully, please view the following resources:
• Update Your Visual Studio Extension
• Breaking API List
• Migrated PIA List
Please let us know if you have any questions. You can reach us on the VSExtensibility GitHub repo: https://github.com/microsoft/VSExtensibility
The text was updated successfully, but these errors were encountered: