Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The "SlowCheetah.Xdt.TransformXml" task could not be loaded from the assembly

After installing Slow Cheeath (v. 2.5.10.3) to two projects in my solution, I am receiving the following error:

"The "SlowCheetah.Xdt.TransformXml" task could not be loaded from the assembly C:\Users
\User\AppData\Local\Microsoft\MSBuild\SlowCheetah\v2.5.10.2\SlowCheetah.Xdt.dll. Could 
not load file or assembly 'file:///C:\Users\User\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.  ISA.IMPD.FalseAlarm.Web.Portal"

I have removed both projects in their entirety (along with Slow Cheetah), re-installed both projects (along with Slow Cheetah), and Rebuilt the solution to no avail. Can anyone help with this type of error?

like image 340
Clinton Russell Avatar asked Nov 12 '13 17:11

Clinton Russell


3 Answers

In my case the error occured while compiling a web project. The folder

%userprofile%\AppData\Local\Microsoft\MSBuild\SlowCheetah\v2.5.10.2

was empty. All the SlowCheetah components were in SlowCheetah\v1 folder instead. I've copied all files from V1 folder to v2.5.10.2 and everything compiled and transformed fine. To make non web projects compile, I also had to delete V1 folder as suggested by Whoever in this thread.

This was a brand new installation of the SlowCheetah Extension and I did not expect the v1 folder to exist at all. I believe this was a bug in the extension installation for Visual Studio 2012.

like image 180
SashaArz Avatar answered Nov 20 '22 10:11

SashaArz


delete

  AppData\Local\Microsoft\MSBuild\SlowCheetah\v1 
like image 38
Whoever Avatar answered Nov 20 '22 12:11

Whoever


I seem to have found to solution to this problem.

Here's what I did:

  1. You need to close Visual Studio, then navigate to:

  2. C:\Users\username\AppData\Local\Microsoft\VisualStudio\11.0\Extensions

  3. Delete the cache file that has the latest date and time

  4. Open Visual Studio and remove Slow Cheetah from the Solution level

  5. Re-install Slow Cheetah from the solution level to the desired projects.

like image 8
Clinton Russell Avatar answered Nov 20 '22 12:11

Clinton Russell