Removing the preview version of .net 6 from teh Add/Remove programs, and then downloading and installing the RC1 version from https://dotnet.microsoft.com/download/dotnet/6.0 created the missing files and got things working for me again.
VS2022 Preview 4 Cannot Load Blazor Project
I just upgraded to VS2022 Preview 4. Now when I load my Blazor project, I get the following error:
error : The project file cannot be opened. The SDK resolver "Microsoft.DotNet.MSBuildSdkResolver" failed to run. Could not find file 'C:\Program Files\dotnet\sdk-manifests\6.0.100\microsoft.net.sdk.macos\WorkloadManifest.json'.
I am not even using MacOS. I am Windows and on Preview 3 I had no issues.
2 answers
Sort by: Most helpful
-
-
Amjad Khan 21 Reputation points
2021-09-15T09:20:41.07+00:00 I installed the .NET 6 RC1 SDK and created a new project. Then loaded my older project and it seems to be working now. I don't if installing .NET 6 SDK is required from my .NET 5 project to work in the new VS2022.