Selecting which project under a solution to debug or run in Visual Studio 2010

后端 未结 5 2021
灰色年华
灰色年华 2020-12-14 14:18

This one should be easy. I just can\'t figure out what to search for...

For this one solution I created a unit test project, and I\'ve been adding unit tests frantic

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-14 14:51

    1) In the Solution-Explorer, right-click on the project that is the project for the executable assembly, and select "Set as Startup Project". This will make the project show in bold, and will be run automatically when you press F5.

    2) Alternatively, in the Solution-Explorer, right-click on the project that is the project for the executable assembly, and select "Debug -> Start New Instance". This will start the debug session immediately.

提交回复
热议问题