【问题标题】:C#-cannot view properties of a reference in bin folderC#-无法查看 bin 文件夹中引用的属性
【发布时间】:2016-03-08 23:56:20
【问题描述】:

【问题讨论】:

  • 你要找的女巫属性?

标签: c# outlook interop office-interop com-interop


【解决方案1】:

转到您的 .csproj 文件。编辑它并将值更改为 False

 <EmbedInteropTypes>False</EmbedInteropTypes> 

.csproj 文件示例:

<ItemGroup>
....
     <Reference Include="Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
      <EmbedInteropTypes>True</EmbedInteropTypes>
    </Reference>
....
</ItemGroup>

【讨论】:

    猜你喜欢
    • 2016-03-14
    • 2017-03-12
    • 2023-03-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多