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.
The issue is, only adding nugget would not suffice. You need to install slowcheetah from visual studio marketplace. Following are the steps:
GitHub Reference
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With