Search code examples
c#visual-studio-2012slowcheetah

Slow Cheetah transform failing


In Visual Studio 2012 I have Slow Cheetah version 2.5.10 installed. When building an app that uses Slow Cheetah, the build fails with the following error:

Error 1 The "SlowCheetah.Xdt.TransformXml" task could not be loaded from the assembly C:\Users\MyActiveDirectoryAccount\AppData\Local\Microsoft\MSBuild\SlowCheetah\v2.5.10\SlowCheetah.Xdt.dll. Could not load file or assembly 'file:///C:\Users\MyActiveDirectoryAccount\AppData\Local\Microsoft\MSBuild\SlowCheetah\v2.5.10\SlowCheetah.Xdt.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. C:\Users\MyActiveDirectoryAccount\AppData\Local\Microsoft\MSBuild\SlowCheetah\v1\SlowCheetah.Transforms.targets

When navigating to this directory, I can see the Slow Cheetah files, but the SlowCheetah.Xdt.dll file is missing.

C:\Users\MyActiveDirectoryAccount\AppData\Local\Microsoft\MSBuild\SlowCheetah\v2.5.10\

To triage this, I've:

  1. Rebooted
  2. Un-installed and re-installed Slow Cheetah
  3. Clean and rebuild

None of the above fixed the problem. Any guidance would be appreciated. Thanks!


Solution

  • The answer is in one of the Q & A's (by zendu)

    Copy the files from

    %APPDATA%..\Local\Microsoft\MSBuild\SlowCheetah\v1.

    to

    %APPDATA%..\Local\Microsoft\MSBuild\SlowCheetah\v2.5.10.

    List of files:
    Install-Manifest.xml
    Microsoft.Web.XmlTransform.dll
    SlowCheetah.Tasks.dll
    SlowCheetah.Transforms.targets
    SlowCheetah.Xdt.dll

    Source

    Also see this related question
    The "SlowCheetah.Xdt.TransformXml" task could not be loaded from the assembly