Home > Mobile >  Visual Studio debugger starts Solution build
Visual Studio debugger starts Solution build

Time:05-06

I've designed a Visual Studio 2022 solution that contains 6 projects. One produces an executable (.exe) and the others produce dlls that are consumed by the executable. I've noticed that when I try to debug the executable, Visual Studio starts a build for the solution every time I debug. I'm at a loss as to why it builds the solution when nothing has changed in any project. I'm assuming that something in a project is causing the build to occur, but, I don't know what that may be.

Any ideas on how to troubleshoot this?

Update: This solution is built for.Net5. I found this setting in the options under SDK-Style projects that does not appear to work.

enter image description here

CodePudding user response:

Go Tools->Options->Projects and Solutions->Build And Run, set MSBuild output to Detailed, build the project, check the output log. You can also try resetting all settings.

CodePudding user response:

The post, "enter image description here

  • Related