Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit b3defad

Browse files
committed
Primary output kind is already driven by the PackageItemKind definitions
This property value was useless for two reasons: 1 - The prior line was always setting $(PrimaryOutputKind) to a non-empty value, so it was never going to be effective. 2 - It duplicates the value for %(FrameworkSpecific) that is already part of the metadata for the corresponding PackageItemKind (Identity=Lib), so it was redundant.
1 parent c1d35b0 commit b3defad

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/Build/NuGet.Build.Packaging.Tasks/NuGet.Build.Packaging.Inference.targets

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ Copyright (c) .NET Foundation. All rights reserved.
1919

2020
<!-- The Kind of primary output (build, symbols and doc) set if IncludeOutputsInPackage = true -->
2121
<PrimaryOutputKind Condition="'$(PrimaryOutputKind)' == ''">Lib</PrimaryOutputKind>
22-
<!-- Optionally can tweak whether the primary output is TF-specific or not. -->
23-
<PrimaryOutputFrameworkSpecific Condition="'$(PrimaryOutputKind)' == ''">true</PrimaryOutputFrameworkSpecific>
2422

2523
<!-- Whether to include @(Content) items with CopyToOutputDirectory != '' in the package -->
2624
<IncludeContentInPackage Condition="'$(IncludeContentInPackage)' == ''">true</IncludeContentInPackage>

0 commit comments

Comments
 (0)