问题描述
我已经使用Pex和Moles编写了一个单元测试。它在我的本地工作站上构建并正常工作。但是,当我试图检查时在TFS中的代码,门控构建失败,并显示以下错误消息。任何指针和帮助将非常感谢
,因为我已经花了4-5个小时来解决这个问题。谢谢
错误消息:
摩尔:代码:程序集不包含任何类型或无法正确加载
C:\Program Files\Microsoft Moles \bin\Microsoft.Moles.targets(79):命令"" C:\Program Files \\ \\ Microsoft Moles \bin\moles.exe" @C:\ProjectPath\obj\Release\Moles\moles.args"退出代码-1002。
Hi,
I have written a unit test using Pex and Moles.It builds and works fine in my local workstation.However, when trying to checkin the code in TFS, the gated build fails with the following error message.Any pointers and help will be greatly appreciated as I have already spent 4-5 hours on this issue.Thanks
Error Message:
Moles: code : assembly contains no types or failed to load properly
C:\Program Files\Microsoft Moles\bin\Microsoft.Moles.targets (79): The command ""C:\Program Files\Microsoft Moles\bin\moles.exe" @C:\ProjectPath\obj\Release\Moles\moles.args" exited with code -1002.
这篇关于\Moles\moles.args"退出代码-1002。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!