选择调试或在Visual Studio 2010中运行的下一个解决方案项目解决方案、项目、Visual、Studio

2023-09-04 00:37:46 作者:祝你一生平安喜乐

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

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?

推荐答案

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