How to start a single project without debugging in Visual Studio?

后端 未结 14 1181
盖世英雄少女心
盖世英雄少女心 2020-12-01 03:08

My solution contains multiple projects which can be started. SometimesI would like to start a single project without using my solution startup projects settings. When I righ

14条回答
  •  囚心锁ツ
    2020-12-01 03:43

    I've been trying to do the same thing. It seems like an oversight by the VS team that you can start with or without debug at the solution level, but only with debug at the project level.

    One thing that I've noticed is that if you right-click on a toolbar and choose "Customize", in the popup window of actions, go to Category "Project". In there, there is a command for "Run" and "Run Selected". Interesting, I added both to my project context menu, and to the main button bar, and the items seem to always be disabled.

    Also interesting, the project context menu's "Debug | Start New Instance" command is nowhere to be found in the list of customizable commands. I looked through almost every category and couldn't find it.

    Hopefully someone comes up with a good way to do this... it would be really handy!

提交回复
热议问题