我刚刚将我们的通用业务层项目从主分支拆分出来,并将它们包含在一个新的解决方案中。一切都编译成功,但是当我运行单元测试时,每个测试都会出现以下错误...
“Unit Test Adapter threw exception: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.”
奇怪的是,当我调试它们时,它们可以正常运行。只有在没有连接调试器的情况下运行它们时才会出现错误。
如果无法直接修复,是否有人能告诉我如何“检索LoaderExceptions属性”?
“Unit Test Adapter threw exception: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.”
奇怪的是,当我调试它们时,它们可以正常运行。只有在没有连接调试器的情况下运行它们时才会出现错误。
如果无法直接修复,是否有人能告诉我如何“检索LoaderExceptions属性”?