Reputation: 1
I have created a ".vsix" package . I have updated the manifest file with
"InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[15.0,)"
The command used to install the ".vsix" file is
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\VSIXInstaller.exe" /a /q "C:\ccrc.vsix"
But still the extension gets installed for vs2017.
Any way to disable the extension for vs2017, but keep it enabled for vs2019
Upvotes: 0
Views: 538
Reputation: 5577
You explicitly enabled VS 2017 which is version 15. VS 2019 is version 16. Change your manifest to:
"InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[16.0,)"
Upvotes: 1