2

I'm using the following products loaded onto Windows 11 Pro: Visual Studio 2022 Developer, SQL Server 2022, SQL Server Management Studio 21.

I have created a WPF application in VS using .NET 8. When I try to load that project into SSMS, I get the following message:

Could not load SDK Resolver. A manifest file exists, but the path to the SDK Resolver DLL file could not be found. Manifest file path 'C:\Program Files\Microsoft SQL Server Management Studio 21\Release\MSBuild\Current\Bin\SdkResolvers\Microsoft.Build.NuGetSdkResolver\Microsoft.Build.NuGetSdkResolver.xml'. SDK resolver path: C:\Program Files\Microsoft SQL Server Management Studio 21\Release\Common7\IDE\CommonExtensions\Microsoft\NuGet\Microsoft.Build.NuGetSdkResolver.dll

Actions taken:

  • Reinstalled and repaired VS2022 (making sure to select NuGet dependencies)
  • Reinstalled and repaired SSMS 21

After doing all of that I still have no NuGet folder located at C:\Program Files\Microsoft SQL Server Management Studio 21\Release\Common7\IDE\CommonExtensions\Microsoft.

I have two questions:

  1. How do I get the SDKResolver.dll (and other required NuGet files) into the directory C:\Program Files\Microsoft SQL Server Management Studio 21\Release\Common7\IDE\CommonExtensions\Microsoft\NuGet\?

  2. Is it possible to edit the .xml file to point to the NuGet folder which was created when I installed VS2022 (C:\Program Files\Visual Studio 2022\Release\Common7\IDE\CommonExtensions\Microsoft\NuGet\) ?

Any help would be greatly appreciated.

1
  • I had the same problem. I tried to put the containing folder of the correct msbuild as the first entry in the PATH env variable, with no success. I also tried to set an MSBUILD_EXE_PATH env variable with the exact path of the correct msbuild, with no success. The only thing that worked was uninstalling SSMS. However, I do need this program so it is not really a solution Commented Jul 16 at 15:07

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.