Merge pull request #239 from dsplaisted/include-runtime-graph
Bundle runtime graph file in SDK
This commit is contained in:
commit
e46d7b966e
3 changed files with 19 additions and 0 deletions
|
@ -3,8 +3,16 @@
|
||||||
<TargetFramework>$(CoreSdkTargetFramework)</TargetFramework>
|
<TargetFramework>$(CoreSdkTargetFramework)</TargetFramework>
|
||||||
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
|
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
|
||||||
<CopyBuildOutputToPublishDirectory>false</CopyBuildOutputToPublishDirectory>
|
<CopyBuildOutputToPublishDirectory>false</CopyBuildOutputToPublishDirectory>
|
||||||
|
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<!-- Explicitlty reference Microsoft.NETCore.App package here, using the version from Version.props, instead
|
||||||
|
of the version from the stage 0 SDK. -->
|
||||||
|
<PackageReference Include="Microsoft.NETCore.App" Version="$(MicrosoftNETCoreAppPackageVersion)"
|
||||||
|
PrivateAssets="All" Publish="true"/>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="targets\DownloadPackage.csproj" />
|
<None Include="targets\DownloadPackage.csproj" />
|
||||||
<None Include="targets\LayoutTool.csproj" />
|
<None Include="targets\LayoutTool.csproj" />
|
||||||
|
|
|
@ -168,6 +168,7 @@ Copyright (c) .NET Foundation. All rights reserved.
|
||||||
<BundledNETStandardTargetFrameworkVersion>$(_NETStandardTargetFrameworkVersion)</BundledNETStandardTargetFrameworkVersion>
|
<BundledNETStandardTargetFrameworkVersion>$(_NETStandardTargetFrameworkVersion)</BundledNETStandardTargetFrameworkVersion>
|
||||||
<BundledNETStandardPackageVersion>$(_NETStandardLibraryPackageVersion)</BundledNETStandardPackageVersion>
|
<BundledNETStandardPackageVersion>$(_NETStandardLibraryPackageVersion)</BundledNETStandardPackageVersion>
|
||||||
<BundledNETCorePlatformsPackageVersion>$(_NETCorePlatformsPackageVersion)</BundledNETCorePlatformsPackageVersion>
|
<BundledNETCorePlatformsPackageVersion>$(_NETCorePlatformsPackageVersion)</BundledNETCorePlatformsPackageVersion>
|
||||||
|
<BundledRuntimeIdentifierGraphFile>%24(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json</BundledRuntimeIdentifierGraphFile>
|
||||||
@(BundledVersionsVariable->'<%(Identity)>%(Value)</%(Identity)>', '
|
@(BundledVersionsVariable->'<%(Identity)>%(Value)</%(Identity)>', '
|
||||||
')
|
')
|
||||||
<NETCoreSdkVersion>$(SdkVersion)</NETCoreSdkVersion>
|
<NETCoreSdkVersion>$(SdkVersion)</NETCoreSdkVersion>
|
||||||
|
@ -269,4 +270,13 @@ Copyright (c) .NET Foundation. All rights reserved.
|
||||||
Lines="$(BundledBundledCliToolsPropsContent)"
|
Lines="$(BundledBundledCliToolsPropsContent)"
|
||||||
Overwrite="true" />
|
Overwrite="true" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
|
<Target Name="LayoutRuntimeGraph"
|
||||||
|
DependsOnTargets="GenerateBundledVersionsProps">
|
||||||
|
|
||||||
|
<Copy SourceFiles="$(NuGetPackageRoot)/microsoft.netcore.platforms/$(_NETCorePlatformsPackageVersion)/runtime.json"
|
||||||
|
DestinationFiles="$(SdkOutputDirectory)RuntimeIdentifierGraph.json"
|
||||||
|
SkipUnchangedFiles="true"/>
|
||||||
|
|
||||||
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -288,6 +288,7 @@
|
||||||
ExtractBundledComponents;
|
ExtractBundledComponents;
|
||||||
GenerateVersionFile;
|
GenerateVersionFile;
|
||||||
GenerateBundledVersions;
|
GenerateBundledVersions;
|
||||||
|
LayoutRuntimeGraph;
|
||||||
LayoutTemplates;
|
LayoutTemplates;
|
||||||
LayoutBundledTools;
|
LayoutBundledTools;
|
||||||
RetargetTools;
|
RetargetTools;
|
||||||
|
|
Loading…
Reference in a new issue