Skip to content

Commit 1f8d02e

Browse files
committed
Revert "Don't use baseline assembly versions for RID-agnostic packages (#17970)"
This reverts commit 67424e7.
1 parent ba32aa8 commit 1f8d02e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Directory.Build.targets

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<Project>
22

33
<PropertyGroup>
4+
<!-- When OnlyPackPlatformSpecificPackages is set, only produce packages for projects which set RuntimeIdentifier. -->
5+
<IsPackable Condition=" '$(OnlyPackPlatformSpecificPackages)' == 'true' AND '$(IsPackable)' != 'false' AND '$(RuntimeIdentifier)' == '' ">false</IsPackable>
46

57
<!--
68
By default, assemblies which are only in the Microsoft.AspNetCore.App shared framework are not available as NuGet packages.
@@ -65,12 +67,6 @@
6567
<IsPackable Condition=" '$(IsPackageInThisPatch)' != 'true' ">false</IsPackable>
6668
</PropertyGroup>
6769

68-
<PropertyGroup>
69-
<!-- When OnlyPackPlatformSpecificPackages is set, only produce packages for projects which set RuntimeIdentifier. -->
70-
<!-- Keep this below where we set "IsPackageInThisPatch" -->
71-
<IsPackable Condition=" '$(OnlyPackPlatformSpecificPackages)' == 'true' AND '$(RuntimeIdentifier)' == '' ">false</IsPackable>
72-
</PropertyGroup>
73-
7470
<PropertyGroup>
7571
<PackageVersionForPackageVersionInfo>$(PackageVersion)</PackageVersionForPackageVersionInfo>
7672
</PropertyGroup>

0 commit comments

Comments
 (0)