AppDomain.CurrentDomain.GetAssemblies()未提供项目参考

时间:2019-05-29 05:10:18

标签: c# asp.net-core reflection

我的解决方案(.net核心)中有很多项目。

enter image description here

APIWeb.FrameworkAPI.IntegrationTest项目使用。编译解决方案时,在API中创建了Web.FrameworkAPI.IntegrationTest的dll文件,但是在运行API.IntegrationTest时,无法访问这些dll文件。为此,我使用AppDomain.CurrentDomain.GetAssemblies()方法,并且可以确定在域文件夹中看到了dll文件,但它们没有使用AppDomain.CurrentDomain.GetAssemblies()。有没有人对这种情况有任何理论?

0 个答案:

没有答案