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 5
5
<_DotNetHiveRoot >$(DOTNET_INSTALL_DIR)</_DotNetHiveRoot >
6
6
<_DotNetHiveRoot Condition =" '$(_DotNetHiveRoot)' == ''" >$(RepoRoot).dotnet/</_DotNetHiveRoot >
7
7
<_DotNetHiveRoot Condition =" !HasTrailingSlash('$(_DotNetHiveRoot)')" >$(_DotNetHiveRoot)/</_DotNetHiveRoot >
8
+ <SdkOutputDirectory >$(RedistLayoutPath)sdk\$(Version)</SdkOutputDirectory >
8
9
</PropertyGroup >
9
10
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
+
10
17
<!-- Copy artifacts from the stage0 SDK folder.
11
18
Ignore the sdk, templates and host files for which only live built artifacts should be used. -->
12
19
<ItemGroup >
24
31
<InstallerOutputFile Include =" @(OverlaySDKFile)" Exclude =" @(InstallerOutputFile)" />
25
32
</ItemGroup >
26
33
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
+
27
40
<!-- Copy artifacts to the testhost folder. -->
28
41
<Copy DestinationFiles =" @(InstallerOutputFile)"
29
42
SourceFiles =" @(InstallerOutputFile->Metadata('Source'))"
You can’t perform that action at this time.
0 commit comments