提交 e3d0278a 编写于 作者: H HeeJae Chang

fix embeded type issue

上级 dcb1c4a9
......@@ -81,7 +81,7 @@
<!-- Microsoft.VisualStudio.SDK.EmbedInteropTypes sets a bunch of EmbedInteropTypes attributes, but Roslyn is somewhat special
and has to do things differently. After the NuGet package does its thing, do further changes. -->
<Target Name="FixVSSDKEmbeddableAssemblies" AfterTargets="LinkVSSDKEmbeddableAssemblies" >
<Target Name="FixVSSDKEmbeddableAssemblies" AfterTargets="LinkVSSDKEmbeddableAssemblies" BeforeTargets="FindReferenceAssembliesForReferences">
<ItemGroup>
<!-- The official NuGet package tries to embed EnvDTE, which is problematic because we implement the interfaces and use
them in generic type parameters. Because of this, we can't embed them. -->
......@@ -101,6 +101,10 @@
or '%(FileName)' == 'Microsoft.VisualStudio.Shell.Interop.11.0'">
<EmbedInteropTypes>false</EmbedInteropTypes>
</ReferencePath>
<ReferencePath Condition="'%(FileName)' == 'Microsoft.VisualStudio.Imaging.Interop.14.0.DesignTime'">
<EmbedInteropTypes>true</EmbedInteropTypes>
</ReferencePath>
</ItemGroup>
</Target>
</Project>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册