I got this error recently when I tried to rebuild the project that I downloaded from github in VS2013.
Error 1 The “SlowCheetah.Xdt.TransformXml” task could not be loaded from the assembly C:\Users\Michael\AppData\Local\Microsoft\MSBuild\SlowCheetah\v22.214.171.124\SlowCheetah.Xdt.dll. Could not load file or assembly ‘file:///C:\Users\Michael\AppData\Local\Microsoft\MSBuild\SlowCheetah\v126.96.36.199\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
Here is the solution that works for me. Of course, feel free to share if you have alternative solution or better one.
- Close Visual Studio 2013 (if it’s opened)
- Delete SlowCheetah package in %userprofile%\AppData\Local\NuGet\Cache
- Delete all folders under this path %userprofile%\AppData\Local\Microsoft\MSBuild\SlowCheetach
That’s all. It works for me. If it’s not working for you or you have other solution, please drop a comment. Thanks!