控制台应用程序问题(构建版本/不加载解决方案文件)

发布于 2024-08-04 13:22:12 字数 241 浏览 3 评论 0原文

我有几个关于 .net 控制台应用程序的问题。

我创建了控制台应用程序,并在创建过程中包含了一个解决方案文件,但是当我打开解决方案文件时,它只显示项目,而不显示解决方案。为什么解决方案未加载到解决方案资源管理器中?

另外,我似乎无法在“发布”模式下构建项目;只能调试。我将“编译/配置”和“调试/配置”切换为“发布”,但它不会构建“bin\release”文件夹。

任何指向此文档的指针将不胜感激。

谢谢

I've got a couple questions about .net console applications.

I created the console app, and included a solution file during the create, but when I open the solution file, it only shows the project, not the solution. Why doesn't the solution load in the solution explorer?

Also, I don't seem to be able to build the project in 'Release' mode; only debug. I switched the 'Compile/Configuration' and 'Debug/Configuration' to Release, but it doesn't build the 'bin\release' folder.

Any pointers to docs for this would be appreciated.

Thank you

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

甜柠檬 2024-08-11 13:22:12

我有一段时间没有使用 VS2005,但我认为解决方案级别不会显示在解决方案资源管理器中,除非您包含多个项目。

I've not used VS2005 for a while, but I don't think that the solution level is shown in the solution explorer until you have more than one project included.

半岛未凉 2024-08-11 13:22:12

快速切换到“调试”或“发布”配置

  • 在“标准”工具栏上,从“解决方案配置”列表框中选择“调试”或“发布”。

来自 此处。

To switch to the Debug or Release configuration quickly

  • On the Standard toolbar, choose either Debug or Release from the Solution Configurations list box.

From here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文