Search code examples
msbuildslowcheetah

Can you call Slow Cheetah from the command line?


Can you call Slow Cheetah from the command line? I am looking to add a post build event to transform my config file for a variety of different environments.

Cheers Dee


Solution

  • I had an issue with

        AssemblyFile="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.Tasks.dll"
    

    Changing that to

        AssemblyFile="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Web\Microsoft.Web.Publishing.targets"
    

    Allows it to run more dynamically without having to ever change the version.