diff options
author | Pranav K <prkrishn@hotmail.com> | 2021-03-16 00:00:31 +0300 |
---|---|---|
committer | Pranav K <prkrishn@hotmail.com> | 2021-03-16 00:00:31 +0300 |
commit | 29bec2b95970f8095180d39bbd4d8e7582217f96 (patch) | |
tree | 017f32b346631d8810ea985d38493b4b5c0493a1 /Directory.Build.targets | |
parent | a3316184b39c0f4e0f4e5646ff4a9f2e369f6d0b (diff) | |
parent | dd5d990326e45b5c56ab905e33c231fd93a8b1c7 (diff) |
Merge remote-tracking branch 'origin/release/3.1'
Diffstat (limited to 'Directory.Build.targets')
-rw-r--r-- | Directory.Build.targets | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Directory.Build.targets b/Directory.Build.targets index 6ea2934354..93ea0bfa20 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -79,7 +79,8 @@ <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> + <!-- Do not apply this logic to App.Ref and App.Ref.Internal, it's packability is determined by IsTargetingPackBuilding --> + <IsPackable Condition=" '$(MSBuildProjectName)' != 'Microsoft.AspNetCore.App.Ref' AND '$(MSBuildProjectName)' != 'Microsoft.AspNetCore.App.Ref.Internal' AND '$(OnlyPackPlatformSpecificPackages)' == 'true' AND '$(RuntimeIdentifier)' == '' ">false</IsPackable> </PropertyGroup> <PropertyGroup> |