Bundle runtime graph file in SDK
This commit is contained in:
parent
c5d3b0ca36
commit
0af7d1c187
2 changed files with 11 additions and 0 deletions
|
@ -168,6 +168,7 @@ Copyright (c) .NET Foundation. All rights reserved.
|
|||
<BundledNETStandardTargetFrameworkVersion>$(_NETStandardTargetFrameworkVersion)</BundledNETStandardTargetFrameworkVersion>
|
||||
<BundledNETStandardPackageVersion>$(_NETStandardLibraryPackageVersion)</BundledNETStandardPackageVersion>
|
||||
<BundledNETCorePlatformsPackageVersion>$(_NETCorePlatformsPackageVersion)</BundledNETCorePlatformsPackageVersion>
|
||||
<BundledRuntimeIdentifierGraphFile>%24(MSBuildThisFileDirectory)runtime.json</BundledRuntimeIdentifierGraphFile>
|
||||
@(BundledVersionsVariable->'<%(Identity)>%(Value)</%(Identity)>', '
|
||||
')
|
||||
<NETCoreSdkVersion>$(SdkVersion)</NETCoreSdkVersion>
|
||||
|
@ -269,4 +270,13 @@ Copyright (c) .NET Foundation. All rights reserved.
|
|||
Lines="$(BundledBundledCliToolsPropsContent)"
|
||||
Overwrite="true" />
|
||||
</Target>
|
||||
|
||||
<Target Name="LayoutRuntimeGraph"
|
||||
DependsOnTargets="GenerateBundledVersionsProps">
|
||||
|
||||
<Copy SourceFiles="$(NuGetPackageRoot)/microsoft.netcore.platforms/$(_NETCorePlatformsPackageVersion)/runtime.json"
|
||||
DestinationFiles="$(SdkOutputDirectory)runtime.json"
|
||||
SkipUnchangedFiles="true"/>
|
||||
|
||||
</Target>
|
||||
</Project>
|
||||
|
|
|
@ -288,6 +288,7 @@
|
|||
ExtractBundledComponents;
|
||||
GenerateVersionFile;
|
||||
GenerateBundledVersions;
|
||||
LayoutRuntimeGraph;
|
||||
LayoutTemplates;
|
||||
LayoutBundledTools;
|
||||
RetargetTools;
|
||||
|
|
Loading…
Add table
Reference in a new issue