摩尔退出代码-1002,我怎么知道它发生了什么?(Moles exited with code -1002, how can I know what happen to it?)

我正在使用Pex和Moles 0.94.51023.0和VS2010 SP1。 我已成功制作了一些Moles类型的一些装配参考并测试了一些情况。 但是这次有了另一个参考,Moles有一个错误:

Error 3 The command ""C:\Program Files\Microsoft Moles\bin\moles.exe" @D:\...\TestProject2\obj\Debug\Moles\moles.args" exited with code -1002. TestProject2

我不知道1002的含义是什么。我在网上搜索,很多问题粘贴了很长的日志。 如何查找日志? 什么是1002?

谢谢。

I'm using Pex and Moles 0.94.51023.0 with VS2010 SP1. I have successfully made some Moles type of some Assembly reference and tested some cases. But this time with another reference, Moles has an error:

Error 3 The command ""C:\Program Files\Microsoft Moles\bin\moles.exe" @D:\...\TestProject2\obj\Debug\Moles\moles.args" exited with code -1002. TestProject2

I don't know what is the meaning of 1002. And I search the web, many problems pasted with a very long logs. How to find the log? And what is 1002?

Thank you.

最满意答案

我自己解决了这个问题。 只需检查visual studio中的“输出”选项卡即可。 1002是装载组件的问题。 将目标平台设置为所有装配参考项目的“任何CPU”。

I solved this problem myself. Just check the "Output" tab in visual studio. 1002 is a problem with loading assembly. Set the target platform to "Any CPU" of all the assembly reference projects.

摩尔退出代码-1002,我怎么知道它发生了什么?(Moles exited with code -1002, how can I know what happen to it?)

我正在使用Pex和Moles 0.94.51023.0和VS2010 SP1。 我已成功制作了一些Moles类型的一些装配参考并测试了一些情况。 但是这次有了另一个参考,Moles有一个错误:

Error 3 The command ""C:\Program Files\Microsoft Moles\bin\moles.exe" @D:\...\TestProject2\obj\Debug\Moles\moles.args" exited with code -1002. TestProject2

我不知道1002的含义是什么。我在网上搜索,很多问题粘贴了很长的日志。 如何查找日志? 什么是1002?

谢谢。

I'm using Pex and Moles 0.94.51023.0 with VS2010 SP1. I have successfully made some Moles type of some Assembly reference and tested some cases. But this time with another reference, Moles has an error:

Error 3 The command ""C:\Program Files\Microsoft Moles\bin\moles.exe" @D:\...\TestProject2\obj\Debug\Moles\moles.args" exited with code -1002. TestProject2

I don't know what is the meaning of 1002. And I search the web, many problems pasted with a very long logs. How to find the log? And what is 1002?

Thank you.

最满意答案

我自己解决了这个问题。 只需检查visual studio中的“输出”选项卡即可。 1002是装载组件的问题。 将目标平台设置为所有装配参考项目的“任何CPU”。

I solved this problem myself. Just check the "Output" tab in visual studio. 1002 is a problem with loading assembly. Set the target platform to "Any CPU" of all the assembly reference projects.