forked from dnSpy/dnSpy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
EmbedInteropTypes.targets
28 lines (28 loc) · 1.55 KB
/
EmbedInteropTypes.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="utf-8"?>
<!-- This file was copied from https://www.nuget.org/packages/microsoft.visualstudio.sdk.embedinteroptypes -->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- This file can be deprecated when this issue is fixed:
https://github.com/NuGet/Home/issues/2365
and when the VS SDK NuGet packages have been updated to leverage the new feature. -->
<Target Name="LinkVSSDKEmbeddableAssemblies" DependsOnTargets="ResolveReferences" AfterTargets="ResolveReferences">
<ItemGroup>
<ReferencePath Condition="
'%(FileName)' == 'Microsoft.VisualStudio.Imaging.Interop.14.0.DesignTime'
or '%(FileName)' == 'Microsoft.VisualStudio.Shell.Embeddable'
or '%(FileName)' == 'Microsoft.VisualStudio.Shell.Interop.10.0'
or '%(FileName)' == 'Microsoft.VisualStudio.Shell.Interop.11.0'
or '%(FileName)' == 'Microsoft.VisualStudio.Shell.Interop.12.0'
or '%(FileName)' == 'Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime'
or '%(FileName)' == 'Microsoft.VisualStudio.ProjectSystem.Interop'
or '%(FileName)' == 'stdole'
or '%(FileName)' == 'microsoft.visualstudio.designer.interfaces'
or '%(FileName)' == 'EnvDTE80'
or '%(FileName)' == 'EnvDTE90'
or '%(FileName)' == 'EnvDTE100'
or '%(FileName)' == 'Microsoft.VisualStudio.CommandBars'
">
<EmbedInteropTypes>true</EmbedInteropTypes>
</ReferencePath>
</ItemGroup>
</Target>
</Project>