未显示“添加配置转换",为什么? [英] Add Config Transforms is not displaying, why?
问题描述
我不知道这是环境问题还是其他问题;但是,我曾经在Configuration Manager中工作,并且添加了新的测试"和发布",现在它们与调试"一起出现.我转到我的Web.config并单击鼠标右键,没有看到添加配置转换". 我的最终目标是根据我要发布到的环境来更改它. 我有什么选择可以使这项工作?
I don't know if this is an environmental issue or something; however, I have been in Configuration Manager and I have added a new "Test" and "Release", now those appear along with Debug. I went to my Web.config and right clicked and I am not seeing the "Add Config Transforms". My end goal is to change the based on what environment I am publishing to. What are my options to make this work?
推荐答案
该项目是网站吗? web.config转换似乎仅可用于Web应用程序,而不适用于Web站点项目.请参考 http://msdn. microsoft.com/en-us/library/vstudio/dd547590(v=vs.100).aspx#deployment
Is the project a Web Site? The web.config transforms seem to be only available for Web Application, but not for Web Site projects. Please reference http://msdn.microsoft.com/en-us/library/vstudio/dd547590(v=vs.100).aspx#deployment
这篇关于未显示“添加配置转换",为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!