Home > OS >  Visual Studio Esproj - Debug only launching esproj
Visual Studio Esproj - Debug only launching esproj

Time:01-06

I've a solution with 2 projects, .net7 api and a vue esproj

When I set the startup project as the .net 7 api, Visual Studio changes to the .esproj and launches it instead of the api.

Any ideas why is this happening?

CodePudding user response:

There may be a project in the solution that depends on another project, and you set the startup project of the dependent project. This means that when you start a dependent project, Visual Studio automatically starts the dependent project as well.

Apparently you have some wrong settings in your user settings.

So the fix for this issue is to remove the user settings from the solution and run again.

  • Related