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
I am extremely frustrated with SlowCheetah. I tried to use it in many occasions and it never quite worked for me. The main problem is that I have multiple configurations like: QA, UAT, PRD, Live, Local, DEV, etc and I want to be able to define those myself. Attempting to change the configuration manager of the solution causes an array of problems that need hours to be resolved. Notably, the underlying projects will still not generate the new build configs, which leads to build problems, DLL issues and finally I can't get rid of Debug and Release configurations of which I don't want any configs to be generated. Also if I add my configurations to the configuration manager, How hard is it to let the user define these in a simple XML file? Until this very simple feature is added, SlowCheetah is of no use to me and I assume many other developers
I've been coding large financial trading frameworks in VS/C# since .NET 1.1 days (12/13 years). From this perspective, I can affirmatively state that Slow Cheetah is by far the most productive package that is not currently integrated into the VS tool. I'm walking through a major rollout now involving five different staging environments and over twenty different server configs. Without Slow Cheetah, the other 35 people in the deployment team waiting on my builds would be left high and dry while I tried to manage the configs by hand. VS management - what the *hell* are you thinking? Integrate!
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!
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.
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.
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?
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?
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=188.8.131.52, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
How to fix it?
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!
is there support for Azure web role package. I have a custom xml which needs to change based on build configuration. When i build the solution correct xml transformation happens. But and when i create a package for azure web role the transformation does not happen does SlowCheetah support azure web role package?
I am getting the following build error
Error 28 Could not copy "bin\Debug\app.config" to "C:\Users\ara\AppData\Local\Microsoft\MSBuild\SlowCheetah\v2.5.10\bin\Debug\app.config". Exceeded retry count of 10. Failed.
If I delete all files (except 2 files) in
then I can build the project. However, after that I cannot build another project in the same solution
Error 17 Could not copy the file "bin\Debug" to the destination file "C:\Users\ara\AppData\Local\Microsoft\MSBuild\SlowCheetah\v2.5.10\bin\Debug", because the destination is a folder instead of a file. To copy the source file into a folder, consider using the DestinationFolder parameter instead of DestinationFiles.
Why is this happening? It seems like the SlowCheetah is trying to write the projects output to the same directory.
I don't know if this is relevant, when I run install-package SlowCheetah I get the following:
PM> install-package SlowCheetah
'SlowCheetah 184.108.40.206' already installed.
[ProjectName] already has a reference to 'SlowCheetah 220.127.116.11'.
Failed to generate binding redirects for '[ProjectName]'. 'Microsoft.Tools.WindowsInstallerXml.VisualStudio.WixProjectNode' does not contain a definition for 'References'
Great tool! One problem though: When you try to transform a root-element Visual Studio tells me: Could not write Destination file: Object reference not set to an instance of an object.
I'm using VS2012 Update 3 and SlowCheetah 18.104.22.168 (NuGet package). An example of my config file (Invoice.Debug.config):
<?xml version="1.0" encoding="utf-8" ?>
<InvoicePaymentService xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform" cancelUrl="http://mysite.nl/winkelen/geannuleerd/" returnUrl="http://onderwijsadvies.preview.gengu.nl/winkelen/bedankt/" debug="False" testMode="True" xdt:Transform="Replace">
I've tested it with multiple config files and settings. Re-created the transforms etc...
When doing a xdt:Transform="Replace" on the root element I get the error "Could not write Destination file: Object reference not set to an instance of an object." too.
When I changed to a xdt:Transform="SetAttributes(...)" I got it to work on the root element too.
Note: I only needed to change the attributes of one element.
Note to editors here: Change my syntax if replying to another user is made in another way.