C# - 无法查看bin文件夹中引用的属性

时间:2016-03-08 23:56:20

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

1 个答案:

答案 0 :(得分:0)

转到.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>