diff options
author | Gaurav Khanna <gkhanna@microsoft.com> | 2017-03-22 23:25:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-22 23:25:57 -0700 |
commit | 90f74b3963073c3671da1b4b95a6c205b7fa0411 (patch) | |
tree | a6af8a0635da1291c9e81d9dd0097875974febb0 /src/.nuget | |
parent | 6c73fd9440a68f064f4767347a4401155ee88899 (diff) | |
download | coreclr-90f74b3963073c3671da1b4b95a6c205b7fa0411.tar.gz coreclr-90f74b3963073c3671da1b4b95a6c205b7fa0411.tar.bz2 coreclr-90f74b3963073c3671da1b4b95a6c205b7fa0411.zip |
Various fixes for generating portable RID packages (#10409)
Diffstat (limited to 'src/.nuget')
-rw-r--r-- | src/.nuget/dir.props | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/.nuget/dir.props b/src/.nuget/dir.props index 6f9e29cf27..082242ac53 100644 --- a/src/.nuget/dir.props +++ b/src/.nuget/dir.props @@ -73,16 +73,22 @@ <When Condition="'$(_runtimeOSFamily)' == 'osx'"> <PropertyGroup> <PackageRID>osx.10.12-$(ArchGroup)</PackageRID> + <!-- Set the platform part of the RID if we are doing a portable build --> + <PackageRID Condition="'$(PortableBuild)' == '1'">osx-$(ArchGroup)</PackageRID> </PropertyGroup> </When> <When Condition="'$(_runtimeOSFamily)' == 'rhel'"> <PropertyGroup> <PackageRID>rhel.7-$(ArchGroup)</PackageRID> + <!-- Set the platform part of the RID if we are doing a portable build --> + <PackageRID Condition="'$(PortableBuild)' == '1'">linux-$(ArchGroup)</PackageRID> </PropertyGroup> </When> <Otherwise> <PropertyGroup> <PackageRID>$(RuntimeOS)-$(ArchGroup)</PackageRID> + <!-- Set the platform part of the RID if we are doing a portable build --> + <PackageRID Condition="'$(PortableBuild)' == '1'">linux-$(ArchGroup)</PackageRID> </PropertyGroup> </Otherwise> </Choose> |