自动更改启动项目 [英] Change startup project automatically
本文介绍了自动更改启动项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在一个多项目解决方案中不幸发生了事故,在该解决方案中,将新项目添加到解决方案中之后,编写一些代码并点击F5
,运行的项目就不是重点.有什么方法可以使Visual Studio自动将一个新项目标记为启动项目?
Just had an unfortunate accident in a multi-project solution where after adding a new project to the solution, writing some code and hitting F5
the project that ran wasn't the one in focus. Is there any way to make Visual studio automatically mark a new project as the startup one?
推荐答案
可以通过右键单击解决方案并选择设置启动项目"来找到启动项目的选项.这些选项非常简单:
The options for startup projects can be found by right-clicking on the solution and selecting "Set Startup Projects". The options are pretty straightforward:
- 当前选择
- 单个启动项目
- 多个启动项目
这篇关于自动更改启动项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文