Question

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!

Was it helpful?

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

OTHER TIPS

I had the same problem with Visual Studio 2010. I just install the SlowCheetah nuget package (install-package SlowCheetah) and after that the build succeed. The nuget package set up correctly the slowcheetah task in your solution.

SlowCheetah nuget Package

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top