今天部署项目到IIS时候,遇到这个问题,具体解决办法如下:
Disable embedding of Interop types for this
assembly (References -> Microsoft.Office.Interop.Outlook (right click) -> Properties -> Set 'Embed Interop Types' to False)
本文介绍了解决在IIS上部署项目时遇到的关于Microsoft.Office.Interop.Outlook组件问题的方法。通过调整项目的引用设置,禁用类型嵌入,成功解决了部署难题。
今天部署项目到IIS时候,遇到这个问题,具体解决办法如下:
Disable embedding of Interop types for this
assembly (References -> Microsoft.Office.Interop.Outlook (right click) -> Properties -> Set 'Embed Interop Types' to False)

被折叠的 条评论
为什么被折叠?