无法加载一种或多种请求的类型。检索 LoaderExceptions 属性以获取更多信息
我有一个包含 47 个项目的解决方案。有一个安装程序项目会生成 setup.exe 文件和 msi 文件。直到今天,运行 setup.exe 将安装 Windows 服务,没有任何问题。现在我收到错误:
无法加载一个或多个 请求的类型。检索 LoaderExceptions 属性了解更多 信息。
经过一番谷歌搜索后,我似乎确实对不是最新的项目进行了清理/重建。我怎样才能看到它是哪一个?如何查看 LoaderExceptions 属性?
I have a solution that consists of 47 projects. There is an installer project that generates a setup.exe file and an msi-file. Running the setup.exe would install the Windows Service without any problem until today. Now I get the error:
Unable to load one or more of the
requested types. Retrieve the
LoaderExceptions property for more
information.
After googling a bit, it seems that I have do do a clean/rebuild on the project that is not up to date. How do I see which it is? How can I see the LoaderExceptions property?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以查看融合日志:转到 Visual Studio 命令行并运行 fuslogvw.exe。打开日志记录,然后重新运行安装程序。您应该看到运行时无法加载的模块。
这与 LoaderExceptions 的信息相同。
You can look at the fusion logs : go to the Visual Studio command line and run fuslogvw.exe. Turn logging on, and then re-run the setup. You should see the modules that the runtime can't load.
This is the same information as the LoaderExceptions.