File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
src/Layout/redist/targets Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 55 <_DotNetHiveRoot >$(DOTNET_INSTALL_DIR)</_DotNetHiveRoot >
66 <_DotNetHiveRoot Condition =" '$(_DotNetHiveRoot)' == ''" >$(RepoRoot).dotnet/</_DotNetHiveRoot >
77 <_DotNetHiveRoot Condition =" !HasTrailingSlash('$(_DotNetHiveRoot)')" >$(_DotNetHiveRoot)/</_DotNetHiveRoot >
8+ <SdkOutputDirectory >$(RedistLayoutPath)sdk\$(Version)</SdkOutputDirectory >
89 </PropertyGroup >
910
11+ <!-- Get stage 0 SDK version without having to duplicate the LKG SDK property between the global.json
12+ and a property. -->
13+ <Exec Command =" $(DotnetTool) --version" ConsoleToMsbuild =" true" >
14+ <Output TaskParameter =" ConsoleOutput" PropertyName =" Stage0SdkVersion" />
15+ </Exec >
16+
1017 <!-- Copy artifacts from the stage0 SDK folder.
1118 Ignore the sdk, templates and host files for which only live built artifacts should be used. -->
1219 <ItemGroup >
2431 <InstallerOutputFile Include =" @(OverlaySDKFile)" Exclude =" @(InstallerOutputFile)" />
2532 </ItemGroup >
2633
34+ <OverrideAndCreateBundledNETCoreAppPackageVersion
35+ Stage0MicrosoftNETCoreAppRefPackageVersionPath =" $(_DotNetHiveRoot)/sdk/$(Stage0SdkVersion)/Microsoft.NETCoreSdk.BundledVersions.props"
36+ MicrosoftNETCoreAppRefPackageVersion =" $(MicrosoftNETCoreAppRefPackageVersion)"
37+ NewSDKVersion =" $(Version)"
38+ OutputPath =" $(TestHostDotNetRoot)/SDK/$(Version)/Microsoft.NETCoreSdk.BundledVersions.props" />
39+
2740 <!-- Copy artifacts to the testhost folder. -->
2841 <Copy DestinationFiles =" @(InstallerOutputFile)"
2942 SourceFiles =" @(InstallerOutputFile->Metadata('Source'))"
You can’t perform that action at this time.
0 commit comments