Add property for SDK runtime identifier.

Adding `NETCoreSdkRuntimeIdentifier` which is set to the RID the SDK is
building for.

This property enables us to restore assets for the SDK's RID to enable
generating an apphost by default.
This commit is contained in:
Peter Huene 2018-10-02 19:05:16 -07:00
parent cb3f8f3e3c
commit a663785e35
No known key found for this signature in database
GPG key ID: E1D265D820213D6A

View file

@ -103,6 +103,7 @@ Copyright (c) .NET Foundation. All rights reserved.
<BundledNETCorePlatformsPackageVersion>$(_NETCorePlatformsPackageVersion)</BundledNETCorePlatformsPackageVersion>
@(BundledVersionsVariable->'<%(Identity)>%(Value)</%(Identity)>', '%0A ')
<NETCoreSdkVersion>$(SdkVersion)</NETCoreSdkVersion>
<NETCoreSdkRuntimeIdentifier>$(CoreSetupRid)</NETCoreSdkRuntimeIdentifier>
<_NETCoreSdkIsPreview>$(_NETCoreSdkIsPreview)</_NETCoreSdkIsPreview>
<AddDotnetfeedProjectSource Condition="'%24(AddDotnetfeedProjectSource)' == ''">%24(_NETCoreSdkIsPreview)</AddDotnetfeedProjectSource>