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\v220.127.116.11\SlowCheetah.Xdt.dll. Could not load file or assembly ‘file:///C:\Users\Michael\AppData\Local\Microsoft\MSBuild\SlowCheetah\v18.104.22.168\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!