我已经安装了pex和moles,并试图遵循教程

但无法为测试项目添加新项目 - > moles以某种原因

无法找到那里的文件类型

我试图重新安装它几次不成功...

我该怎么办?

感谢

dan

有帮助吗?

解决方案

Your tutorial says to add a new item? I thought that I read that on a old version of Moles.

Never mind. Actually, go to the References in your test project. Right-clik on the assembly you want to mole, you will have "Add Moles Assembly". For mscorlib, right-click directly on the References node and you will have "Add Moles Assembly for mscorlib".

Hope this help.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top