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.
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.
(Note: it works well when a try with an ASP.NET Web Application Project).
ASP.NET Web site project
?May be there is a workaround merging the "*.targets
" files of the "Web Deployment Project 2010" and SlowCheetah...
If you have a web application project, Right-click on web. config and choose Add Config Transform. This will add any config transforms that are missing from your project based on build configurations (i.e. if you have Production and Staging build configs, both will get a transform added).
config file is located in the %SystemRoot%\Microsoft.NET\Framework\%VersionNumber%\CONFIG\ folder. The default settings that are contained in the Machine.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With