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

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Godbe <wigodbe@microsoft.com>2020-01-15 22:01:52 +0300
committerGitHub <noreply@github.com>2020-01-15 22:01:52 +0300
commit67424e78a42b753c7b7284a03e3ea335b9816a40 (patch)
treeaaa170121494a621aa8a8d441b3635ef79e76759 /Directory.Build.targets
parentee57a0c309f4ec769e6d8ec5b83fd75f0e9e09ee (diff)
Don't use baseline assembly versions for RID-agnostic packages (#17970)
Diffstat (limited to 'Directory.Build.targets')
-rw-r--r--Directory.Build.targets8
1 files changed, 6 insertions, 2 deletions
diff --git a/Directory.Build.targets b/Directory.Build.targets
index 70f9528919..0e0db95ab3 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -1,8 +1,6 @@
<Project>
<PropertyGroup>
- <!-- When OnlyPackPlatformSpecificPackages is set, only produce packages for projects which set RuntimeIdentifier. -->
- <IsPackable Condition=" '$(OnlyPackPlatformSpecificPackages)' == 'true' AND '$(IsPackable)' != 'false' AND '$(RuntimeIdentifier)' == '' ">false</IsPackable>
<!--
By default, assemblies which are only in the Microsoft.AspNetCore.App shared framework are not available as NuGet packages.
@@ -68,6 +66,12 @@
</PropertyGroup>
<PropertyGroup>
+ <!-- When OnlyPackPlatformSpecificPackages is set, only produce packages for projects which set RuntimeIdentifier. -->
+ <!-- Keep this below where we set "IsPackageInThisPatch" -->
+ <IsPackable Condition=" '$(OnlyPackPlatformSpecificPackages)' == 'true' AND '$(RuntimeIdentifier)' == '' ">false</IsPackable>
+ </PropertyGroup>
+
+ <PropertyGroup>
<PackageVersionForPackageVersionInfo>$(PackageVersion)</PackageVersionForPackageVersionInfo>
</PropertyGroup>