Visual Studio Extension fails to install because of Microsoft.Net.Core.SDK

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
vrapp
Posts: 121
Joined: Tue Apr 06, 2004 12:34 pm
Contact:

Visual Studio Extension fails to install because of Microsoft.Net.Core.SDK

Post by vrapp » Fri Nov 19, 2021 9:09 am

I'm trying to install Visual Studio Extension, and it fails, looks like because "Microsoft.Net.Core.SDK.2.1 failed to install" because "Another version of this product is already installed" . I have installed Microsoft .NET Core SDK 2.1.526 (x64). I attached the log.
Attachments
dd_VSIXInstaller_20211119085938_414c.txt
(68.02 KiB) Downloaded 357 times
Vadim Rapp

Tonya
Posts: 862
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear

Re: Visual Studio Extension fails to install because of Microsoft.Net.Core.SDK

Post by Tonya » Fri Nov 19, 2021 12:59 pm

My first suggestion is to try installing the VS installer using a command prompt.

1) Start an Admin Command Prompt
2) Look for a Visual Studio program named VSIXInstaller.exe. For example, the binary file would be in something like, "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\VSIXInstaller.exe" - each system may vary and this is just an example.
3) Once you find it, execute the command:
"<path_from_above>\VSIXInstaller.exe" /a /sp "path\to\Vault\VisualStudioExtension_*.vsix"

If this doesn't help, it may require a re-installation of Visual Studio. Knowing the version of your operating system would be helpful as well.

Thanks,

Tonya

vrapp
Posts: 121
Joined: Tue Apr 06, 2004 12:34 pm
Contact:

Re: Visual Studio Extension fails to install because of Microsoft.Net.Core.SDK

Post by vrapp » Fri Nov 19, 2021 1:08 pm

The way I see it, it's not because there's some lack of permissions, but because there's another version of the product that is already installed, and this version is not an upgrade of it. This is very well known message from Windows Installer, when new installation has the same upgrade code, different product code, but not an upgrade.
Vadim Rapp

Tonya
Posts: 862
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear

Re: Visual Studio Extension fails to install because of Microsoft.Net.Core.SDK

Post by Tonya » Fri Nov 19, 2021 4:37 pm

Hello again,

The instructions I provided you with has previously resolved the error for other Vault users. It's definitely worth a try.

Thanks,

Tonya

vrapp
Posts: 121
Joined: Tue Apr 06, 2004 12:34 pm
Contact:

Re: Visual Studio Extension fails to install because of Microsoft.Net.Core.SDK

Post by vrapp » Fri Nov 19, 2021 5:32 pm

Thanks, it worked successfully from elevated prompt.
Vadim Rapp

Tonya
Posts: 862
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear

Re: Visual Studio Extension fails to install because of Microsoft.Net.Core.SDK

Post by Tonya » Mon Nov 22, 2021 8:15 am

Glad to hear and thank you for the update.

Tonya

Post Reply