How to launch a specific project from Visual Studio solution

后端 未结 4 1899
夕颜
夕颜 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:33

    You can also select the option Set StartUp Projects...>Current Selection. To run the project you have in editor window.

    0 讨论(0)
  • 2021-02-18 17:34

    Right click your solution and choose "set startup projects"

    startup projects

    next, you can choose which projects you want to start simultaniously

    startup overview

    or you could right click a project and set that one to startup, each time you "F5", that one will start. You can verify which one is set as startup by looking at the one in bold.

    0 讨论(0)
  • 2021-02-18 17:35

    You could select a default startup project for the solution in the menu if you right click on it. This could also be done if you right click on the solution and go to the properties window where you could select a single or multiple startup projects.

    0 讨论(0)
  • 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)

    0 讨论(0)
提交回复
热议问题