Failed to open an existing Blazor Project - VS 2022 Preview 2.1

Radzen Blazor Studio 1.0.0-alpha.8
Visual Studio 2022 Preview 2.1

No instances of MSBuild could be detected.
Try calling RegisterInstance or RegisterMSBuildPath to manually register one.
at Microsoft.Build.Locator.MSBuildLocator.RegisterDefaults()
at Radzen.Server.MSBuildService.Register() in /Users/korchev/github/radzen-next/Radzen.Server/MSBuildService.cs:line 14
at Radzen.Server.Program.Main(String[] args) in /Users/korchev/github/radzen-next/Radzen.Server/Program.cs:line 27

Hi @Stardusstt,

What is the output when you run dotnet --version? Also what is VS Preview 2.1 ?

Visual Studio 2022 Preview 2.1
.net 7.0.100-rc.1.22431.12
but project created in .net 6

We don't support .NET 7 runtime yet with RBS. Support will come as soon as .NET 7 goes RTM.

Can I force it to run on .NET 6 runtime ? or I need to remove .NET 7?

I am not aware of any way to use the .NET 6 runtime if it isn't installed. If it is you can try with global.json

If not needed you can try removing .NET 7 RC and installing the latest .NET 6.