Created
September 10, 2017 00:09
-
-
Save charlesbetros/ddf8ede26977e12eb6318d7b15e1084c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project> | |
<!-- | |
This is a copy of the Microsoft.VisualStudio.SDK.EmbedInteropTypes NuGet package, but only the list of | |
assemblies that we need. The package includes things like EnvDTE which are reasonable for consumers, but | |
strange since we actually _implement_ DTE and use it as an exchange type with generics in a few places. | |
--> | |
<Target Name="LinkVSSDKEmbeddableAssemblies" BeforeTargets="FindReferenceAssembliesForReferences;ResolveReferences"> | |
<ItemGroup> | |
<ReferencePath Condition=" | |
'%(FileName)' == 'Microsoft.VisualStudio.Shell.Embeddable' | |
or '%(FileName)' == 'Microsoft.VisualStudio.Shell.Interop.12.0' | |
or '%(FileName)' == 'Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime' | |
or '%(FileName)' == 'Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime' | |
or '%(FileName)' == 'Microsoft.VisualStudio.Shell.Interop.15.0.DesignTime' | |
or '%(Filename)' == 'Microsoft.VisualStudio.Imaging.Interop.14.0.DesignTime' | |
or '%(FileName)' == 'Microsoft.VisualStudio.TextManager.Interop.12.1.DesignTime' | |
or '%(FileName)' == 'Microsoft.VisualStudio.ProjectSystem.Interop' | |
or '%(FileName)' == 'stdole' | |
or '%(FileName)' == 'Microsoft.VisualStudio.CommandBars' | |
or '%(FileName)' == 'NuGet.SolutionRestoreManager.Interop' | |
or '%(FileName)' == 'NuGet.VisualStudio' | |
or '%(FileName)' == 'VSLangProj110'"> | |
<EmbedInteropTypes>true</EmbedInteropTypes> | |
</ReferencePath> | |
</ItemGroup> | |
</Target> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment