Web.config文件转型与SlowCheetah和ASP.NET网站项目 [英] Web.config transformation with SlowCheetah and ASP.NET Web site project
问题描述
我试图用SlowCheetah XML变换与Visual Studio 2010中的 ASP.NET网站项目
(而不是一个ASP.NET Web应用程序项目)。
I'm trying to use SlowCheetah XML Transforms with an ASP.NET Web site project
(not an ASP.NET Web Application Project) in Visual Studio 2010.
当我右键单击我的ASP.NET网站项目,我没有看到的Web.config
文件添加变换
项目在上下文菜单。
When I right click on the Web.config
file in my ASP.NET Web site project, I don't see "Add Transform
" item in the contextual menu.
(注:它工作得很好,当有一个ASP.NET Web应用程序项目尝试)
(Note: it works well when a try with an ASP.NET Web Application Project).
- 是否有可能使用SlowCheetah与
ASP.NET网站项目
?
或者它的设计不可能的,因为这种项目具有局限性?
可能有解决方法合并 *。目标
的档案的 Web部署项目2010 和SlowCheetah ...
May be there is a workaround merging the "*.targets
" files of the "Web Deployment Project 2010" and SlowCheetah...
推荐答案
SlowCheetah不支持的网站项目。被你设想什么样的行为这里的网站项目?对于WAP项目他们包时踢/发表。对于Web部署项目建议,我已经创建了一个问题跟踪,在 https://开头github上。 COM / sayedihashimi /慢猎豹/问题/ 4 的,但我不知道如何将实际工作。我得想想了一下。
SlowCheetah doesn't support website projects. What behavior were you envisioning here for website projects? For WAP projects they are kicked in during package/publish. For the Web deployment project suggestion I have created an issue to track that at https://github.com/sayedihashimi/slow-cheetah/issues/4, but I'm not sure how that would actually work. I'll have to think about that for a bit.
网站项目现在具有相同的出版支持,Web应用程序项目,的 http://blogs.msdn.com/b/webdev/archive/2012/11/20/new-web-publish-updates.aspx ,如果您想SlowCheetah支持转换XML文件,请为它投票:<一href=\"https://slowcheetah.uservoice.com/forums/185106-general/suggestions/3398137-support-for-website-project\" rel=\"nofollow\">https://slowcheetah.uservoice.com/forums/185106-general/suggestions/3398137-support-for-website-project
Website project now has the same publishing support as Web application project, http://blogs.msdn.com/b/webdev/archive/2012/11/20/new-web-publish-updates.aspx, if you would like SlowCheetah to support transforming XML files please vote for it at: https://slowcheetah.uservoice.com/forums/185106-general/suggestions/3398137-support-for-website-project
这篇关于Web.config文件转型与SlowCheetah和ASP.NET网站项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!