简体   繁体   English

无法在Visual Studio 2010中为安装项目选择新的解决方案配置

[英]Unable to select new solution configuration for setup project in Visual Studio 2010

I have a C# project in Visual Studio 2010 with multiple solution configurations (not only Debug an Release). 我在Visual Studio 2010中有一个C#项目,具有多个解决方案配置(不仅是“调试发行版”)。 Couple days ago i created another setup project for my project and created a new solution configuration. 几天前,我为项目创建了另一个安装项目,并创建了新的解决方案配置。 In configuration manager i can select my new configuration for all projects inside my solution, except my new setup project. 在配置管理器中,我可以为解决方案中的所有项目选择新的配置,但新的安装项目除外。 In drop down it has only Debug and Release, while other setup project have my new configuration. 在下拉菜单中,只有Debug和Release,而其他安装项目有我的新配置。
Anybody knows where the problem could be? 有人知道问题可能在哪里吗?

Ok, i found a solution. 好的,我找到了解决方案。 I manually added necessary configuration to vdproj file after opening it as xml file. 在将它作为xml文件打开后,我将必需的配置手动添加到了vdproj文件中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM