dnSpy/EmbedInteropTypes.targets

28 строки
1.5 KiB
XML

<?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>