Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经安装了 Pex & moles 并尝试按照教程进行操作
但由于某种原因无法向测试项目添加新项目->痣
在那里找不到文件类型
我试过重装几次都不成功...
我能做些什么 ?
谢谢
担
你的教程说要添加一个新项目?我以为我是在旧版本的 Moles 上读到的。
没关系。实际上,请转到您的测试项目中的参考。右键单击要添加痣的程序集,您将看到“添加痣程序集”。对于 mscorlib,直接在 References 节点上单击鼠标右键,您将看到“Add Moles Assembly for mscorlib”。
希望这有帮助。