SlowCheetah is a great extension for Visual Studio desktop applications. In short, it enables configuration transforms for desktop application exactly like web applications. Unfortunately, the extension has not been updated to support Visual Studio 2015 RC but the Nuget package works. Here are the changes I had to make to the project XML to get SlowCheetah in VS 2015 RC working.
It’s helpful to know you don’t need the extension to use SlowCheetah. By adding the Nuget package you can transform your configuration files with your local build or continuous build process, you just need to manually configure your project XML.
I am not suggesting you stop using the extension. The extension (in earlier versions of Visual Studio) adds a context menu option, “Add Transform”, which adds a transform configuration file and modifies the project XML automatically. Below are the steps I followed to manually update the project since I could not use the extension.
Fortunately, the SlowCheetah Nuget package automatically modifies the project when it’s added. It adds a SlowCheetah.Transforms.targets file,
a SlowCheetah property group,
and an import tag for the SlowCheetah targets.
I manually added two app.config files, one for each build configuration. I unloaded and opened the project file. I modified the XML by adding a tag to make the two new app.configs dependent upon the original. I also added a tag to all 3 app.config files to transform on build.