在我的解决方案中的两个项目中安装了Slow Cheeath (v.2.5.10.3)后,我收到以下错误:
"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"
我已经完全删除了这两个项目(以及慢猎豹),重新安装了这两个项目(以及慢猎豹),并重新构建了解决方案,但无济于事。有没有人可以帮助解决这种类型的错误?
发布于 2013-11-13 03:55:26
删除
AppData\Local\Microsoft\MSBuild\SlowCheetah\v1
发布于 2014-03-24 11:08:05
这在我们的构建服务器上失败了,所以我将修订号从:
<sc-MSBuildLibPathLocal Condition=" '$(sc-MSBuildLibPathLocal)'=='' ">$(LocalAppData)\Microsoft\MSBuild\SlowCheetah\v2.5.10.2\</sc-MSBuildLibPathLocal>
至:
<sc-MSBuildLibPathLocal Condition=" '$(sc-MSBuildLibPathLocal)'=='' ">$(LocalAppData)\Microsoft\MSBuild\SlowCheetah\v2.5.10.3\</sc-MSBuildLibPathLocal>
为什么它指向v2.5.10.2是一个谜,但我肯定是在使用v2.5.10.3!看起来nuget包本身就有bug。
发布于 2013-12-05 04:02:28
在使用上下文菜单中的预览转换功能后,这个问题对我来说就消失了。最初建议使用here。
仅供参考,这是在VS 2010 Premium上。
https://stackoverflow.com/questions/19936476
复制相似问题