自定义解决方案配置没有出现在Visual Studio 2010中达 [英] Custom solution configuration not showing up in Visual Studio 2010
本文介绍了自定义解决方案配置没有出现在Visual Studio 2010中达的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我添加了名为临时的解决方案配置。它显示了在下降VS下来,而不是在配置管理器包/发布Web屏幕。在此屏幕上,那些我在下拉菜单中看到的是:
I added a solution configuration called 'Staging'. It does show up on the drop down in VS, but not in the Configuration Manager in 'Package/Publish Web' screen. On this screen, the ones I see in the dropdown are:
- 活动(释放)
- 调试
- 发布
- 在所有配置
我不明白分期这里给我包中的临时模式
I don't see Staging in here for me to package in the Staging mode
推荐答案
我找到了一个解决方案,以增加新的项目创建自定义生成后配置的问题 -
I found a solution to the issue of adding a new project AFTER creating a custom build config -
- 右键单击该解决方案。
- 选择从上下文菜单中选择属性。
- 在出现的对话框中,在左侧窗格中单击配置属性。
- 单击配置管理器...按钮,在右上角。
- 向下滚动到您的新项目。
- 在配置栏中为您的项目,选择
<新建...>
- 在出现的对话框中,输入名称现有项目,并取消选中,上面写着创建新的解决方案配置(因为它在解决方案层面已经存在)的框。
- 走进该项目的属性,你将看到这个配置。在您的项目配置应用需要的属性。
- Right click on the solution.
- Select "Properties" from the context menu.
- In the resulting dialog, click on "Configuration Properties" in the left hand pane.
- Click the "Configuration Manager..." button on top right.
- Scroll down to your new project.
- Under the "Configuration" column for your project, select
<New...>
. - In the resulting dialog, enter the name of your existing project, and un-check the box that says "Create new solution configurations" (since it already exists on the solution level).
- Go into the properties of that project and you will now see this configuration. Apply necessary properties for that configuration in your project.
这篇关于自定义解决方案配置没有出现在Visual Studio 2010中达的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文