选择调试或在Visual Studio 2010中运行的下一个解决方案项目 [英] Selecting which project under a solution to debug or run in Visual Studio 2010

查看:120
本文介绍了选择调试或在Visual Studio 2010中运行的下一个解决方案项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这应该很容易。我想不出该怎么寻找...

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 frantically. When I went back to try to run the original project after making all the unit tests pass I realized that I couldn't figure out how to debug the original project.

在换句话说,每一次我尝试调试(例如,由pressing <大骨节病> F5 ),Visual Studio将运行单元测试。所以,问题是如何在一个单一的解决方案上运行的各种项目?如何选择哪一个会跑的时候,我希望它?

In other words, every time I try to "debug" (e.g., by pressing F5), Visual Studio will run the unit tests. So the question is how do I run various projects in a single solution? How do I select which one will run when I want it to?

推荐答案

您可以用鼠标右键单击该项目并选择设置为启动项目

这篇关于选择调试或在Visual Studio 2010中运行的下一个解决方案项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆