SlowCheetah - XML Transforms

Free

This package enables you to transform your app.config or any other XML file based on the build configuration. It also adds additional tooling to help you create XML transforms.. Written by: Sayed Ibrahim Hashimi, Chuck England and Bill Hiebert

(123) Review
Visual Studio
2013, 2012, 2010
Download (183,050)
7/20/2014
2.5.11
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (123)
Q and A (241)
Sign in to write a review
Sort by:

by MSreenath | March 17 2015

Hi Ibrahim,

Thanks for writing this great tool. I have a question regarding this tool.

Question 1:

How this tool will help if I am creating ONE setup project (msi project) for all my environments and have multiple configuration files ? How can I build and deploy in this case.

As far as I can see this tool works great if you are doing file copy deployment. It just does not make sense to create setup file (read msi) for each environment, if that route I am taking for this


Question 2:

I have 5 different applications (Three Console Applications, Two Windows Service and Two Web)

Can I keep a one master config file and update all these five applications without copying same settings to app.staging.confing likewise to all applications.

Again, it takes lot of time and create this tool, I myself struggled create such tool but it is far from the level you have reached.

Please let me know. I am waiting for your response.

Sree

by jhjhkl758 | March 12 2015

ddd

by Cosmin Vana | January 19 2015

by Victor Lindsey | January 16 2015

I really like this tool for Visual Studio (both 2010 and 2013), and cannot understand Microsoft's reluctance to adopt this as a standard feature for all future versions of the IDE.

I found that for me, using the VSIXinstaller for each edition of Visual Studio I'm using, worked well to get it installed. And I have to make sure that custom XML-styled configuration files are marked with "Copy always" or "Copy if newer".

by 程湘之間 | January 06 2015

It's a very good add-on for Visual Studio.
Maybe making a formal part of Visual Studio will be a good idea.

by Rehan Saeed | December 15 2014

Vote for this feature to be built into Visual Studio. Find out more here:

http://rehansaeed.co.uk/configuration-file-transforms-in-visual-studio-should-be-built-in/

by Omar Gameel Salem | December 08 2014

by Slammer17 | December 02 2014

Recently updated via nuget from :

<package id="SlowCheetah" version="2.5.10.3" targetFramework="net45" />


To



<package id="SlowCheetah" version="2.5.14" targetFramework="net45" />

and after this update, Slow Cheetah stopped transforming files within VS2013 Ultimate Update 4

I rolled back to 2.5.10.3 and it now works fine again.

by Josh Gallagher | October 15 2014

The simple mechanisms for replacing parts of XML that are used by
msdeploy on web.config are equally useful with any other config files.
SlowCheetah does a great job of extending that functionality in a
transparent way to other files.

by chris.morgan | September 04 2014

This extension has saved my countless hours setting up automated builds and continuous deployments. This is a must have if you need to do configuration file transforms during your build and deployment process.

by Gustin G | September 02 2014

Excellent tool - I use it in every project to achieve a clear configuration scenario.

by Thomas TwoAngel Rud Rasmussen | August 20 2014

Doesnt transforms, doesnt add new transforms, doesnt transform web.config as stated.

Soo, that's a no go im my environment

by Toons33 | July 21 2014

Terrific work -- the only problem with web.config can be solved with a little trickery (http://stackoverflow.com/questions/16225304/using-slowcheetah-config-transforms-on-web-config-in-a-3-5-web-forms-app).

THANK YOU SlowCheetah team.

by Victor Pascual Villanueva | July 15 2014

Making things a lot easier for Selenium testing across different browsers:

http://testingisland.wordpress.com/2014/07/10/how-slowcheetah-can-help-with-your-selenium-tests/

by Dmitriy N. Dokshin | July 08 2014

by Frank Fajardo | June 26 2014

Very useful. I like that it looks at the Publish Profiles, although be cautious when you rename a Profile, it does not rename the previously generated transform files. But you can always regenerate and delete the old.

by tomKober | June 24 2014

Works like a breeze. :)

by dkehring | June 24 2014

Simply does not work with ClickOnce. I have not found any information that shows how to make XML transformations work with ClickOnce. You can run the transform preview and it looks correct, but the .config.deploy file generated by ClickOnce is the original, untransformed config file. Very frustrating and completely unusable in my situation.

by Henrick P | June 19 2014

A real must if you wish to deploy to different machine with different configuration settings stored inside some other [filename].config. Still wonder why Microsoft don't have this functionality out of the box.

by marcelnita | May 22 2014

Great!

1 - 20 of 123 Items   
Sign in to start a discussion


  • Cannot replace root node
    4 Posts | Last post Thu 5:22 PM
    • Hi,
      
      I want to add transforms to an EPiServer license file. However, for this to be maintainable I need to replace all content in License.config. When I'm adding xdt:Transform="Replace" to the root node I get the following error:
      
      "Could not write Destination file: Cannot insert the node in the specified location."
      
      This applies to any file except Web.config. Any thoughts on this?
    • I am attempting to do the exact same thing with the exact same result.  Any update on this question?
    • Can anyone please tell me solution for this.I really need to get this done
    • Your issue is likely the idea of replacing the root node.  Try to alter any available nesting nodes or attributes.
      
      If none of that works you may need to resort to additional post-build steps (if you haven't already).
  • SlowCheetah for Telerik Windows Forms Project
    2 Posts | Last post Thu 11:16 AM
    • Hi,
      
      We are trying to use SlowCheetah to create an XML Transforms for a "Telerik Windows Forms Project" (this is a project type added by the Telerik plugin) and we have noticed that the transformation just won't kick on build events, the transform preview though is working fine...
      
      I'm suspecting this has somthing to do with the custom project type, am I right? did anyone else had any experience in making slowcheetah work for Telerik projects, or any other custom-plug-in-project types for that matter? is there any chance to make it work manually?
      
      on a side note I'll use this opportunity to thank Sayed-Ibrahim for a really great tool, and productivity saver - which we use in almost all of our projects!
      
      Thanks 
    • OK apparently re-installing the extension solved the issue! 
  • Support for Web Setup Projects and MSI installer?
    1 Posts | Last post February 03, 2015
    • I know this supports the "Publish" option for deployment of Web Applications but does it work with Web Setup Projects?
      
      VS 2013 extension ... https://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d
      
      I need to build an MSI installer for deployment.
  • Inheritance/Copying
    1 Posts | Last post February 02, 2015
    • Hey, I need some help.
      
      I have 7-8 XML transformations, each of them belonging to DEBUG or RELEASE 'group'. I have a BASE Debug transform and a BASE Release transform. All other transforms are based on one of these two transforms, so I have to perform many copy/paste procedures to 'derive' more specific XML Transform. 
      
      I would like to avoid copying/pasting and have some kind of 'inheritance', is it possible to achieve this with SlowCheetah or plain XSLT? I am new to XSLT, so any references to XSLT would be appreciated as well.
  • What options is available for VS 2013 for Web?
    1 Posts | Last post January 30, 2015
    • Hi Sayed. I have a VS solution containing several projects being worked on by several developers via TFS/GIT mode. We require XML transformations for App.config and Web.config.
      
      I tried installing via the download link above but was told my product is not supported. Is there a different solution for VS 2013 for Web?
  • Why "Debug" and "Release"?
    3 Posts | Last post January 12, 2015
    • I want to create transforms for each of our environments (e.g. "Dev", "QA", "Prod") and name them accordingly.  Having transforms named after the build configuration (e.g. "Debug" or "Release") doesn't work for us.  How can I set that up?
    • You can name your build configurations "Dev, QA, Prod", once you have done that, then transform the app.config file and it will take the name of the build configs.
    • Sorry Michael for the intrusion but I had the same issue.
      
      Harag9,
      
      I already did what you suggested but still only Debug and Release are getting transformed.  Once I use the environment specific config, the environment specific config files is just being copied instead of merging and transforming it with the main app.config.
  • xmlns="" in WMAppManifest.xml
    1 Posts | Last post November 29, 2014
    • Hi All, 
      I've noticed the the presence of the xmlns="" attribute in the <App> element in the Windows phone WMAppManifest.xml causes the transformations to fail.  When xmlns="" is removed the transformations work but the app will not build and deploy.  Any ideas how I can get round this?
      Thanks,
      Kevin
  • How to Update AppSetting
    1 Posts | Last post November 21, 2014
    • Hi ,i had used this tranform,but i wanna update a appsetting ,how to got it  
  • Could not load file or assembly Microsoft.Web.XmlTransform
    1 Posts | Last post November 07, 2014
    • We want to use SlowCheetah on developers computers without SlowCheetah installing. In this case we made following steps:
      - Copy files SlowCheetah.Transforms.targets, SlowCheetah.Xdt.dll, Microsoft.Web.XmlTransform.dll to specified folder in solution
      - Modify the project file: "<SlowCheetahTargets>$(MSBuildProjectDirectory)\..\SlowCheetah\SlowCheetah.Transforms.targets</SlowCheetahTargets>
      "
      - Reload project
      - Uninstall SlowCheetah extension
      
      We have occured following error after rebuild project:
      Error	68	The "SlowCheetah.Xdt.TransformXml" task failed unexpectedly.
      System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Web.XmlTransform, Version=1.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
      
      How to fix it?
  • Could not open Transform File
    1 Posts | Last post October 22, 2014
    • We have a VS2010 solution that we are converting to VS2012. There is one project that is giving us problems. The project is a ClickOnce WPF application that does not have a web.config file (as expected). It has an app.config file with all of the relevant target transformation files already. When we try to build the project then we get the following error:
      
      Could not open Transform file: Could not find file 'C:\Develop\Source\Rnd\FleetView\Development\FleetView\FleetView\Web.Development.config'.
      
      Any suggestions?  TIA!
      
1 - 10 of 241 Items