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

查看:681
本文介绍了“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
\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"

我已经全部删除了这两个项目(以及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%\AppData\Local\Microsoft\MSBuild\SlowCheetah\v2.5.10.2

为空。所有的SlowCheetah组件都在 SlowCheetah\v1 文件夹中。我将所有文件从 V1 文件夹复制到 v2.5.10.2 ,所有编辑和转换都可以。为了使非Web项目编译,我还必须删除在此线程中所建议的 V1 文件夹。

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.

这是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天全站免登陆