c# - Visual Studio Express 2012 未在 Release 文件夹中构建 exe

标签 c# .net visual-studio

我已经编译了一个简单的“Hello World”程序。程序编译成功,没有任何错误。我可以在 bin 文件夹中看到一个工作的可执行文件。但是项目的 Release 文件夹是空的。

不知道是不是设置的问题,或者是构建的问题。显然,我没有看到任何错误。

最佳答案

您可以在 Visual Studio 顶部更改构建模式:

enter image description here

根据您构建解决方案的模式,Visual Studio 将在 bin\Debug 文件夹或 bin\Release 文件夹中生成 .exe。

关于c# - Visual Studio Express 2012 未在 Release 文件夹中构建 exe,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18320619/

相关文章:

c# - 满足此要求的 WPF 控件或方法是什么?

.net - 在保留样式的同时以编程方式清理 Word 生成的 HTML?

visual-studio - 从命令行禁用 msvsmon 超时

c# - 如何在 Visual Studio 2008/2010 中捕获并保存解决方案项目的编译时和运行时错误

visual-studio - 丢失的 dll 文件(Microsoft.Windows.Design.dll)

c# - 是否可以在 .NET 中使用两个不同名称的相同属性

c# - 使用 WinSCP .NET 程序集连接到 SFTP 服务器时为 "Host key does not match configured key"

c# - 单元测试下恢复SQL Server时避免恢复卡住

c# - Process.Start() 什么时候可以返回 null?

c# - 如何在resx文件中写入换行符\n?