diff options
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/NETStandard.Library.NETFramework/targets/NETStandard.Library.NETFramework.common.targets | 5 |
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)"> |