Search code examples
visual-studioslowcheetah

Slow cheetah Add Transform does not appear


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.


Solution

  • 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:

    enter image description here

    After that, it will look like this in the Solution Explorer:

    enter image description here

    Now you can edit your newly added config file with the required transformations.