question

VictorHavin-9077 avatar image
0 Votes"
VictorHavin-9077 asked LimitlessTechnology-2700 answered

VSIX installer does not work on Windows 11

Hi everybody,

I have a VSIX project that creates a VSIX installer targeting several versions of VS, including VS2022. When I run this installer on Windows 10, everything works as expected and my VS extension gets installed without problems. However, when I try to run the same VSIX installer on Windows 11, I am getting the following error:

5/11/2022 4:37:48 PM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.

As I mentioned before, the only difference is the Windows version. On windows 10 there is no problem.
My question is: Is it possible to change something in my VSIX project to make it installable on Windows 11?

windows-11vs-general
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @VictorHavin-9077 , welcome to Microsoft Q&A forum. Please make sure that you have installed supported version(s) of Visual Studio on your Windows 11 machine. Besides, in the detail log file, can you see that the extension installer finds and lists the supported version of Visual Studio?

201675-image.png

0 Votes 0 ·
image.png (14.0 KiB)
SSengupta-4080 avatar image
0 Votes"
SSengupta-4080 answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hi VictorHavin-9077,

You'll need to Update all your VS Extensions to get it working in Windows 11, you can do it by following documentation steps here:- https://docs.microsoft.com/en-us/visualstudio/extensibility/migration/update-visual-studio-extension

To get latest version of VSIX Installers you can refer to https://docs.microsoft.com/en-us/visualstudio/ide/finding-and-using-visual-studio-extensions?view=vs-2022

If even after upgrade you face same issue, you can troubleshoot it in windows by which it can automatically detect and resolve compatibilities with Windows 11 by referring to https://docs.microsoft.com/en-us/visualstudio/install/troubleshooting-installation-issues?view=vs-2022


--If the reply is helpful, please Upvote and Accept as answer--

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.