How to launch a specific project from Visual Studio solution

后端 未结 4 1872
夕颜
夕颜 2021-02-18 17:13

I have a solution which includes several projects. How can I launch each project from Visual Studio separately?

4条回答
  •  有刺的猬
    2021-02-18 17:52

    You can configure a solution to have multiple startup projects - Right click the solution in Solution Explorer, choose "Set StartUp projects", choose "Multiple Startup Projects", and choose the ones you wish to have start. They'll all be started when you hit F5.

    Or, you can right click any project in Solution Explorer, and choose "Debug"->"Start New Instance" or "Debug"->"Step Into New Instance" - you can do this to any projects you want to, at any time. (So, if you want to have some projects start when you start debugging, and start others at a later point, this is the way to go)

提交回复
热议问题