I want to use Slow Cheetah for transform .config file. Currently I am using Visual Studio 2017 and for this I have installed Slow Cheetah 2.5.48 from nuget but 'Add Transform' does not appear when I right-click on config file.
6 Answers
The issue is, only adding nugget would not suffice. You need to install slowcheetah from visual studio marketplace. Following are the steps:
- Install SlowCheetah from Tools > Extensions and Updates
- Restart VS, allowing for the VSIX installer to run
- Create new C# App (.NET Framework). (In my case, it started to work on existing app also.)

- 390
- 3
- 11
-
For people looking at this with latest VS 2019 updates, Extensions can now be found next to the 'Tools' button as its own separate section. – danny10846 Oct 15 '21 at 07:21
As a work-around you could do this by hand. Make a copy in the _Solution Explorer* of your Web.config and rename it to Web.Debug.config or whatever you like.
Unload the project and then Edit the project.
Find the ItemGroup element that contains your newly created config file and add the <DependentUpon>Web.config</DependentUpon>
element there, like so:
After that, it will look like this in the Solution Explorer:
Now you can edit your newly added config file with the required transformations.

- 4,039
- 1
- 16
- 18
-
-
Yes. It is described here. https://github.com/Microsoft/slow-cheetah/blob/master/doc/transforming_files.md A NuGet package is available for integration with the build. – Emiel Koning Jun 17 '17 at 16:29
-
Ok but Slow Cheetah is not working on Visual Studio 2017. I also tried your solution which you have mentioned above but it is also not working in VS 2017. – Swati Gupta Jun 17 '17 at 18:07
-
Did you read the Getting Started section on the link I posted earlier? The extension that is mentioned is for VS2015-2017. That will add the **Add transform** context menu item and also a **Preview transform**. You'll need the NuGet package that is specified to have your config transformed during the build. – Emiel Koning Jun 17 '17 at 18:13
-
-
And you don't see those extra context menu options when right clicking an `App.config`? – Emiel Koning Jun 17 '17 at 18:43
-
I had the same issue. I installed the NuGet package 2.5.48 and then was able to download and install the vsix file from here and it worked:

- 745
- 1
- 11
- 14
- Download it here https://marketplace.visualstudio.com/items?itemName=WillBuikMSFT.SlowCheetah-XMLTransforms or search for "SlowCheetah" in Visualstudio marketplace,
- install it
- restart you VS and see. Good luck

- 49
- 3
Correct as @Himanshu Singla and many others here are saying, in addition to installing nuget package, you still need to download the Extension from Tools->Extensions and Updates-> Search "Slow Cheetah", install and restart VS.

- 113
- 2
- 9
-
-
Apologies, still cant comment to the above solutions, as I am still building up my reputation. – Coder Dev Jun 29 '21 at 06:22
I had to do the following before it worked:
- Install the package from their site instead of from NuGet
- List item
Restart VS
Then the Add Transform option started showing up in the drop-down menu.

- 414
- 2
- 7
- 15