C# - 无法查看 bin 文件夹中引用的属性
C#-cannot view properties of a reference in bin folder
转到您的 .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>
转到您的 .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>