A free and open-source web framework that enables developers to create web apps using C# and HTML, developed by Microsoft.
Visual Studio. Blazor WASM debug runs incorrect project if blazor projects not alone in the solution.
Andrei Hulidau
1
Reputation point
Hello.
My solution contains several projects:
- Console application
- BlazorWebAssembly.Client
- BlazorWebAssembly.Server
- BlazorWebAssembly.Shared
When I am trying to debug Blazor app I do the following steps:
- Right click on the "BlazorWebAssembly.Server"
- Select "Set as Startup project" option.
- Click on the button on the image:
But after that, the default project switches to my console app and runs it. How can I run my blazor server using visual studio in that case?
Visual Studio Version 16.9.6
Upd. If right click on the server project and select "Debug/Start new instance" it works. But it is weird that it doesn't work the way described above.
Developer technologies | .NET | Blazor
Developer technologies | .NET | Blazor
Developer technologies | Visual Studio | Debugging
Developer technologies | Visual Studio | Debugging
A core feature of Visual Studio that allows developers to inspect, analyze, and troubleshoot code during execution.
Sign in to answer