Visual Studio 2013 + SlowCheetah error

I got this error recently when I tried to rebuild the project that I downloaded from github in VS2013.

Error Message:

Error 1 The “SlowCheetah.Xdt.TransformXml” task could not be loaded from the assembly C:\Users\Michael\AppData\Local\Microsoft\MSBuild\SlowCheetah\v2.5.10.2\SlowCheetah.Xdt.dll. Could not load file or assembly ‘file:///C:\Users\Michael\AppData\Local\Microsoft\MSBuild\SlowCheetah\v2.5.10.2\SlowCheetah.Xdt.dll’ or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> 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. Project-Name

Error Screenshot

SlowCheatch

Here is the solution that works for me. Of course, feel free to share if you have alternative solution or better one.

Solution

  • Close Visual Studio 2013 (if it’s opened)
  • Delete SlowCheetah package in %userprofile%\AppData\Local\NuGet\Cache

Cache

  • Delete all folders under this path %userprofile%\AppData\Local\Microsoft\MSBuild\SlowCheetach

 

MSBuild

 

That’s all. It works for me. If it’s not working for you or you have other solution, please drop a comment. Thanks!

3 thoughts on “Visual Studio 2013 + SlowCheetah error

  1. This bug affects any version of VS (Vs 2010 and 2012). The fix is the same for all versions:
    – Close VS.
    – Go to %userprofile%\AppData\Local\Microsoft\MSBuild\SlowCheetach and copy files from v1 to v2.5.10.2. Delete v1 after that.
    – Reopen VS and test.
    It worked for me :)

Leave a Reply

Your email address will not be published. Required fields are marked *