在vs下 winform项目, 头部菜单栏-->生成-->配置管理器. 选择下拉release就行了 暂时这样 转载于:https://www.cnblogs.com/ruonanxiao/archive/2010/07/30/1788752.html