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

C#-cannot view properties of a reference in bin folder

Click here for screenshot.on clicking the reference it is not showing the properties, How to set embed interop type to false?

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