Custom solution configuration not showing up in Visual Studio 2010(自定义解决方案配置未显示在 Visual Studio 2010 中)
问题描述
我添加了一个名为Staging"的解决方案配置.它确实显示在 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:
- 活动(发布)
- 调试
- 发布
- 所有配置
我在这里看不到 Staging 以便我在 Staging 模式下打包
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 -
- 右键单击解决方案.
- 从上下文菜单中选择属性".
- 在出现的对话框中,点击左侧窗格中的配置属性".
- 点击右上角的配置管理器..."按钮.
- 向下滚动到您的新项目.
- 在项目的配置"列下,选择
<New...>
. - 在出现的对话框中,输入现有项目的名称,然后取消选中创建新的解决方案配置"框(因为它已经存在于解决方案级别).
- 进入该项目的属性,您现在将看到此配置.在您的项目中为该配置应用必要的属性.
这篇关于自定义解决方案配置未显示在 Visual Studio 2010 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:自定义解决方案配置未显示在 Visual Studio 2010 中


- Windows 喜欢在 LINUX 中使用 MONO 进行服务开发? 2022-01-01
- Azure Active Directory 与 MVC,客户端和资源标识同一 2022-01-01
- 为什么 C# 中的堆栈大小正好是 1 MB? 2022-01-01
- 带问号的 nvarchar 列结果 2022-01-01
- CanBeNull和ReSharper-将其用于异步任务? 2022-01-01
- 是否可以在 .Net 3.5 中进行通用控件? 2022-01-01
- C# 通过连接字符串检索正确的 DbConnection 对象 2022-01-01
- 在 C# 中异步处理项目队列 2022-01-01
- 在 LINQ to SQL 中使用 contains() 2022-01-01
- 使用 rss + c# 2022-01-01