从Visual Studio 2008中删除调试和发布配置 [英] Removing Debug and Release Configurations from Visual Studio 2008

查看:219
本文介绍了从Visual Studio 2008中删除调试和发布配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我修改了默认的Debug配置,使输出目录类似于 $(SolutionDir)$(PlatformName)/ $(ConfigurationName)



接下来,我创建了调试版本, DebugStatic DebugDll ,以更明确地说明正在创建的目标。我通过复制 Debug 配置创建它们。



以类似的方式,我创建了 ReleaseDLL ReleaseStatic 从修改的发布配置。



使用配置管理器,我删除了 Debug 发布配置。



调试发布配置仍然显示批量生成窗口以及在属性页窗口中的配置下拉框中显示(右键单击项目名称, 属性)。

如何清洁,擦除,擦除,擦除调试发布配置?



(调试的模糊性导致我花了很多周的时间解决问题,特别是当意外结合Win32调试DLL在X64项目中)

(我搜索了网络和StackOverflow,但没有找到任何有关完全删除这些配置的信息。)

$ b



解决方案配置可能受到以下因素的控制:





在上图中,您可以点击项目配置,选择编辑,然后您可以删除配置。


I modified the default Debug configuation, so that the output directories resemble $(SolutionDir)$(PlatformName)/$(ConfigurationName).

Next, I created debug variations, DebugStatic and DebugDll, to be more explicit about the target being created. I created them by copying the Debug configuration.

In similar fashion, I created ReleaseDLL and ReleaseStatic from the modified Release configuration.

Using Configuration Manager, I removed the Debug and Release configurations.

The Debug and Release configurations still show up in the Batch Build window and also in the Configuration drop down box in the Property Pages window (displayed from right clicking on the project name, then selecting Properties).

How do I cleanse, wipe-out, erase, obliterate, the Debug and Release configurations?

(The ambiguity of Debug has caused me many weeks of problem solving, especially when accidentally combining a Win32 debug DLL in an X64 project)
(I searched the web and StackOverflow, but didn't find anything about completely removing those configurations.)

解决方案

Solution and Project debug/release configurations are different.

Solution configurations may be controlled by configuration manager (Active Solution Configuration) and project configuration again can be controlled in the same manager for each project separately(project context)

In the image above, you can click on a project configuration, select edit and then you can remove the configuration.

这篇关于从Visual Studio 2008中删除调试和发布配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆