调试与发布-如何确保我使用的是正确的 [英] debug vs. release - how to ensure I am using the right one
问题描述
我不确定这是否是发布此主题的正确论坛-如果不是,请移动它.
我有一个C#应用程序(多个项目).解决方案中包括一个安装项目(只是一个标准的Visual Studio安装项目).
很明显,当我在开发时,我希望处于调试模式.但是,当我建立一个设置(发送给其他人进行测试)时,我希望将其发布.
最简单的方法是什么?我是否必须更改Active解决方案配置(从调试到发行版),或者是否可以通过某种方式始终确保安装程序安装了应用程序的发布版本,并在调试中对其进行调试?
谢谢.
I'm not sure if this is the right forum to be putting this - please move it if it is not.
I have a C# application (Multiple projects). Included in my solution is an Setup project (Just a standard visual studio setup project).
Obviously, when I'm developing, I want to be in debug mode. But when I build a setup (to send to other people for testing), I want this to be in release.
What is the easiest way to do this? Do I have to change the Active solution configuration (from debug to release), or is there some way I can always ensure that setup installs the releaes version of my application, and I debug it in debug?
Thanks.
推荐答案
您好,
我认为您的线程更适合ClickOnce和设置&部署项目论坛.您将从那里的安装项目专家那里获得更多帮助.
谢谢,
最好的问候,
灵芝
Hello,
I think your thread is more fit for ClickOnce and Setup & Deployment Project forum. You will get more help from the experts on Setup Projects there.
Thanks,
Best Regards,
Lingzhi
这篇关于调试与发布-如何确保我使用的是正确的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!