Selecting which project under a solution to debug or run in Visual Studio 2010(选择要在 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.
换句话说,每次我尝试调试"(例如,按 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 中调试或运行的解决方案下的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:选择要在 Visual Studio 2010 中调试或运行的解决方案下的项目


基础教程推荐
- SSE 浮点算术是否可重现? 2022-01-01
- 如何激活MC67中的红灯 2022-01-01
- rabbitmq 的 REST API 2022-01-01
- 如何在 IDE 中获取 Xamarin Studio C# 输出? 2022-01-01
- 为什么Flurl.Http DownloadFileAsync/Http客户端GetAsync需要 2022-09-30
- MS Visual Studio .NET 的替代品 2022-01-01
- 将 XML 转换为通用列表 2022-01-01
- 有没有办法忽略 2GB 文件上传的 maxRequestLength 限制? 2022-01-01
- 将 Office 安装到 Windows 容器 (servercore:ltsc2019) 失败,错误代码为 17002 2022-01-01
- c# Math.Sqrt 实现 2022-01-01