Skip to content

Commit 65dabc4

Browse files
authored
Merge pull request #612 from dsplaisted/FixTargetingPacks
Fix targeting packs
2 parents 585bcf3 + b122749 commit 65dabc4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

eng/Versions.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
</PropertyGroup>
3434
<PropertyGroup>
3535
<NETStandardLibraryPackageVersion>2.1.0-prerelease.19078.1</NETStandardLibraryPackageVersion>
36+
<!-- Use a different property name here, as NETStandardLibraryPackageVersion is also set by targets in the NETStandard.Library package,
37+
which ends up overriding the value set here. -->
38+
<NETSTandardTargetingPackVersion>$(NETStandardLibraryPackageVersion)</NETSTandardTargetingPackVersion>
3639
</PropertyGroup>
3740
<PropertyGroup>
3841
<MicrosoftDotNetCommonItemTemplatesPackageVersion>1.0.2-beta5.19066.2</MicrosoftDotNetCommonItemTemplatesPackageVersion>

src/redist/targets/GenerateBundledVersions.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Copyright (c) .NET Foundation. All rights reserved.
239239
<KnownFrameworkReference Include="NETStandard.Library"
240240
TargetFramework="netstandard2.1"
241241
TargetingPackName="NETStandard.Library"
242-
TargetingPackVersion="$(NETStandardLibraryPackageVersion)"
242+
TargetingPackVersion="$(NETSTandardTargetingPackVersion)"
243243
TargetingPackFormat="NETStandardLegacy"
244244
/>
245245

0 commit comments

Comments
 (0)