“SlowCheetah.Xdt.TransformXml"无法从程序集中加载任务 [英] The "SlowCheetah.Xdt.TransformXml" task could not be loaded from the assembly

查看:22
本文介绍了“SlowCheetah.Xdt.TransformXml"无法从程序集中加载任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的解决方案中将 Slow Cheeath (v. 2.5.10.3) 安装到两个项目后,我收到以下错误:

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
UserAppDataLocalMicrosoftMSBuildSlowCheetahv2.5.10.2SlowCheetah.Xdt.dll. Could 
not load file or assembly 'file:///C:UsersUserAppDataLocalMicrosoftMSBuild
SlowCheetahv2.5.10.2SlowCheetah.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"

我已经完全删除了这两个项目(连同 Slow Cheetah),重新安装了这两个项目(连同 Slow Cheetah),并重新构建了解决方案,但无济于事.任何人都可以帮助解决此类错误吗?

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?

推荐答案

在我的例子中,在编译一个 web 项目时发生了错误.文件夹

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

%userprofile%AppDataLocalMicrosoftMSBuildSlowCheetahv2.5.10.2

是空的.所有的 SlowCheetah 组件都在 SlowCheetahv1 文件夹中.我已将所有文件从 V1 文件夹复制到 v2.5.10.2 并且一切都编译和转换得很好.为了使非 Web 项目编译,我还必须按照 Whoever 在此线程中的建议删除 V1 文件夹.

was empty. All the SlowCheetah components were in SlowCheetahv1 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.

这是一个全新的 SlowCheetah 扩展安装,我没想到 v1 文件夹会存在.我相信这是 Visual Studio 2012 扩展安装中的一个错误.

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.

这篇关于“SlowCheetah.Xdt.TransformXml"无法从程序集中加载任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆