如何删除 Visual Studio 2008 中的项目配置? [英] How do I remove a project configuration in Visual Studio 2008?

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

问题描述

我有一个 Visual Studio 2008 解决方案,我已经在其中导入了许多预先存在的项目.这些项目是混合语言示例代码(C#、VB、C++/CLI).他们目前有多个配置,但我希望每个项目只有一个调试"配置.

I have a Visual Studio 2008 solution into which I have imported a number of pre-existing projects. The projects are mixed-language sample code (C#, VB, C++/CLI). They currently have multiple configurations, but I want each project only to have only a single "Debug" configuration.

在配置管理器中,我删除了其他配置(例如发布"),但是当我这样做时,有一条警告消息告诉我它们不会从单个项目中删除.

In the configuration manager, I deleted the other configurations (e.g. "Release"), but as I did so there was a warning message to tell me that they would not be deleted from the individual projects.

事实上,当我导航到一个单独的项目时,它仍然有发布"和其他配置,即使在解决方案级别只有调试".

And indeed when I navigate to an individual project, it still has "Release" and other configurations, even though at the solution level there is only "Debug".

我怎样才能最好地从每个项目中删除这些额外的配置?我是否忽略了在 GUI 中执行此操作的某种方法,还是应该直接编辑项目文件?

How can I best remove these extra configurations from each project? Am I overlooking some way to do this in the GUI, or should I just edit the project files directly?

推荐答案

在配置管理器中,在每个项目的配置"列中选择编辑..."(不是通过下拉菜单名为活动解决方案配置),其中包含您要删除的配置.

In the Configuration Manager, select "Edit..." in the "Configuration" column for each project (not via the dropdown named Active solution configuration) that has configurations you want to remove.

在弹出的对话框中,标记每个不需要的配置并选择删除".

In the dialog that pops up, mark each unwanted configuration and select "Remove".

这篇关于如何删除 Visual Studio 2008 中的项目配置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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