Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorEric St. John <ericstj@microsoft.com>2017-05-25 01:14:15 +0300
committerEric St. John <ericstj@microsoft.com>2017-05-25 01:14:15 +0300
commit56a11c8478753c01abb23f7cc6ad3302c28286b8 (patch)
treee3cbc4657dad863b73642dab9f99d511c4873183 /pkg
parent6fd33fe84cc4c2f59a3740bcfcf9499bab9b7100 (diff)
Mark NETStandard.Library.NETFramework as trimmable
This lets folks use the assembly level trimming from Microsoft.Packaging.Tools.Trimming to reduce the set of assemblies deployed with their application.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/NETStandard.Library.NETFramework/targets/NETStandard.Library.NETFramework.common.targets5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/NETStandard.Library.NETFramework/targets/NETStandard.Library.NETFramework.common.targets b/pkg/NETStandard.Library.NETFramework/targets/NETStandard.Library.NETFramework.common.targets
index 1fa7fa8024..675c39e521 100644
--- a/pkg/NETStandard.Library.NETFramework/targets/NETStandard.Library.NETFramework.common.targets
+++ b/pkg/NETStandard.Library.NETFramework/targets/NETStandard.Library.NETFramework.common.targets
@@ -28,6 +28,11 @@
<!-- Ensure this runs before conflict resolution since the added files may cause conflicts -->
<HandlePackageFileConflictsDependsOn>ImplicitlyExpandNETStandardFacades;$(HandlePackageFileConflictsDependsOn)</HandlePackageFileConflictsDependsOn>
</PropertyGroup>
+
+ <ItemGroup Condition="$(DontTrimNETStandardLibraryNETFramework)' != 'true'">
+ <!-- mark this package as trimmable so that files in the same package aren't automatically rooted -->
+ <TrimmablePackages Include="NETStandard.Library.NETFramework" />
+ </ItemGroup>
<Target Name="ImplicitlyExpandNETStandardFacades"
AfterTargets="$(ImplicitlyExpandNETStandardFacadesAfter)">