diff options
author | William Godbe <wigodbe@microsoft.com> | 2020-01-15 22:01:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-15 22:01:52 +0300 |
commit | 67424e78a42b753c7b7284a03e3ea335b9816a40 (patch) | |
tree | aaa170121494a621aa8a8d441b3635ef79e76759 /Directory.Build.targets | |
parent | ee57a0c309f4ec769e6d8ec5b83fd75f0e9e09ee (diff) |
Don't use baseline assembly versions for RID-agnostic packages (#17970)
Diffstat (limited to 'Directory.Build.targets')
-rw-r--r-- | Directory.Build.targets | 8 |
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> |