File tree Expand file tree Collapse file tree 11 files changed +101
-20
lines changed
Microsoft.NETCore.DotNetHostPolicy
Microsoft.NETCore.DotNetHostResolver
Microsoft.NETCore.DotNetHost
sfx/Microsoft.NETCore.App Expand file tree Collapse file tree 11 files changed +101
-20
lines changed Original file line number Diff line number Diff line change 51
51
</PropertyGroup >
52
52
53
53
<PropertyGroup >
54
- <DefaultCoreClrSubsets >clr.native+linuxdac+clr.corelib+clr.tools+clr.nativecorelib+clr.packages+clr.nativeaotlibs+clr.crossarchtools+host </DefaultCoreClrSubsets >
54
+ <DefaultCoreClrSubsets >clr.native+linuxdac+clr.corelib+clr.tools+clr.nativecorelib+clr.packages+clr.nativeaotlibs+clr.crossarchtools</DefaultCoreClrSubsets >
55
55
<!-- Even on platforms that do not support the CoreCLR runtime, we still want to build ilasm/ildasm. -->
56
56
<DefaultCoreClrSubsets Condition =" '$(PrimaryRuntimeFlavor)' != 'CoreCLR'" >clr.iltools+clr.packages</DefaultCoreClrSubsets >
57
57
61
61
<DefaultMonoSubsets Condition =" '$(MonoAOTEnableLLVM)' == 'true' and '$(MonoAOTLLVMDir)' == ''" >mono.llvm+</DefaultMonoSubsets >
62
62
<DefaultMonoSubsets Condition =" '$(TargetOS)' == 'Browser'" >$(DefaultMonoSubsets)mono.wasmruntime+</DefaultMonoSubsets >
63
63
<DefaultMonoSubsets Condition =" '$(MonoCrossAOTTargetOS)' != ''" >$(DefaultMonoSubsets)mono.aotcross+</DefaultMonoSubsets >
64
- <DefaultMonoSubsets >$(DefaultMonoSubsets)mono.runtime+mono.corelib+mono.packages+</DefaultMonoSubsets >
65
- <DefaultMonoSubsets Condition =" '$(TargetsMobile)' != 'true'" >$(DefaultMonoSubsets)host+</DefaultMonoSubsets >
64
+ <DefaultMonoSubsets >$(DefaultMonoSubsets)mono.runtime+mono.corelib+mono.packages</DefaultMonoSubsets >
66
65
67
66
<DefaultLibrariesSubsets Condition =" '$(BuildTargetFramework)' == '$(NetCoreAppCurrent)' or
68
67
'$(BuildTargetFramework)' == '' or
Original file line number Diff line number Diff line change 214
214
<Uri >https://github.com/dotnet/runtime</Uri >
215
215
<Sha >1967649721058a457157d4321af3e6fceaa5441b</Sha >
216
216
</Dependency >
217
+ <Dependency Name =" Microsoft.NETCore.DotNetHost" Version =" 7.0.0-preview.7.22358.7" >
218
+ <Uri >https://github.com/dotnet/runtime</Uri >
219
+ <Sha >1967649721058a457157d4321af3e6fceaa5441b</Sha >
220
+ </Dependency >
221
+ <Dependency Name =" Microsoft.NETCore.DotNetHostPolicy" Version =" 7.0.0-preview.7.22358.7" >
222
+ <Uri >https://github.com/dotnet/runtime</Uri >
223
+ <Sha >1967649721058a457157d4321af3e6fceaa5441b</Sha >
224
+ </Dependency >
217
225
<Dependency Name =" runtime.native.System.IO.Ports" Version =" 7.0.0-preview.7.22358.7" >
218
226
<Uri >https://github.com/dotnet/runtime</Uri >
219
227
<Sha >1967649721058a457157d4321af3e6fceaa5441b</Sha >
Original file line number Diff line number Diff line change 74
74
<NuGetBuildTasksPackVersion >6.0.0-preview.1.102</NuGetBuildTasksPackVersion >
75
75
<!-- Installer dependencies -->
76
76
<MicrosoftNETCoreAppRuntimewinx64Version >7.0.0-preview.7.22358.7</MicrosoftNETCoreAppRuntimewinx64Version >
77
+ <MicrosoftNETCoreDotNetHostVersion >7.0.0-preview.7.22358.7</MicrosoftNETCoreDotNetHostVersion >
78
+ <MicrosoftNETCoreDotNetHostPolicyVersion >7.0.0-preview.7.22358.7</MicrosoftNETCoreDotNetHostPolicyVersion >
77
79
<MicrosoftExtensionsDependencyModelVersion >3.1.0</MicrosoftExtensionsDependencyModelVersion >
78
80
<!-- CoreClr dependencies -->
79
81
<MicrosoftNETCoreILAsmVersion >7.0.0-preview.7.22358.7</MicrosoftNETCoreILAsmVersion >
Original file line number Diff line number Diff line change 118
118
<MonoIncludeFiles Include =" $(MonoArtifactsPath)\include\**\*.*" />
119
119
</ItemGroup >
120
120
121
- <!-- Host files. Mobile uses a different hosting model, so we don't include the .NET host components there. -->
122
- <ItemGroup Condition =" '$(TargetsMobile)' != 'true' and Exists('$(DotNetHostBinDir)')" >
123
- <RuntimeFiles Include =" $(DotNetHostBinDir)\$(LibPrefix)hostpolicy$(LibSuffix)" >
124
- <IsNative >true</IsNative >
125
- </RuntimeFiles >
126
- <RuntimeFiles Include =" $(DotNetHostBinDir)\$(LibPrefix)hostfxr$(LibSuffix)" >
127
- <IsNative >true</IsNative >
128
- </RuntimeFiles >
129
- </ItemGroup >
130
-
131
121
<Error Condition =" '@(RuntimeFiles)' == ''" Text =" The '$(RuntimeFlavor)' subset must be built before building this project." />
132
122
</Target >
133
123
Original file line number Diff line number Diff line change @@ -32,14 +32,13 @@ jobs:
32
32
osGroup : ${{ parameters.osGroup }}
33
33
osSubgroup : ${{ parameters.osSubgroup }}
34
34
archType : ${{ parameters.archType }}
35
- crossBuild : ${{ parameters.crossBuild }}
36
35
framework : ${{ parameters.framework }}
37
36
isOfficialBuild : ${{ parameters.isOfficialBuild }}
38
37
liveRuntimeBuildConfig : ${{ parameters.liveRuntimeBuildConfig }}
39
38
runtimeFlavor : ${{ parameters.runtimeFlavor }}
40
39
runtimeVariant : ${{ parameters.runtimeVariant }}
41
40
timeoutInMinutes : ${{ parameters.timeoutInMinutes }}
42
- container : ${{ parameters.container }}
41
+ container : ' ' # we just send to helix, no need to use a container.
43
42
condition : ${{ parameters.condition }}
44
43
testScope : ${{ parameters.testScope }}
45
44
runTests : true
90
89
91
90
- ${{ if ne(parameters.liveRuntimeBuildConfig, '') }} :
92
91
- script : $(_buildScript)
93
- -subset host+ libs.pretest
92
+ -subset libs.pretest
94
93
$(_buildArguments)
95
94
/p:RuntimeFlavor=${{ parameters.runtimeFlavor }}
96
95
/bl:$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)/overrideRuntimeFromLiveDrop.binlog
Original file line number Diff line number Diff line change
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
+
3
+ <PropertyGroup >
4
+ <VersionProp >HostVersion</VersionProp >
5
+ <InstallerName >dotnet-host</InstallerName >
6
+ <PackageDescription >Provides an executable implementation of the Microsoft DotNet Framework and SDK launcher module</PackageDescription >
7
+ </PropertyGroup >
8
+
9
+ <ItemGroup Condition =" '$(PackageTargetRuntime)' != ''" >
10
+ <NativeBinary Include =" $(DotNetHostBinDir)/dotnet$(ExeSuffix)" />
11
+ <File Include =" @(NativeBinary)" >
12
+ <TargetPath >runtimes/$(PackageTargetRuntime)/native</TargetPath >
13
+ <IsNative >true</IsNative >
14
+ </File >
15
+ </ItemGroup >
16
+
17
+ </Project >
Original file line number Diff line number Diff line change
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
+
3
+ <PropertyGroup >
4
+ <VersionProp >HostPolicyVersion</VersionProp >
5
+ <PackageDescription >Provides a CoreCLR hosting policy implementation -- configuration settings, assembly paths and assembly servicing</PackageDescription >
6
+ </PropertyGroup >
7
+
8
+ <ItemGroup >
9
+ <Dependency Include =" Microsoft.NETCore.DotNetHostResolver" VersionProp =" HostResolverVersion" />
10
+ </ItemGroup >
11
+
12
+ <ItemGroup Condition =" '$(PackageTargetRuntime)' != ''" >
13
+ <NativeBinary Include =" $(DotNetHostBinDir)/$(LibPrefix)hostpolicy$(LibSuffix)" />
14
+ <File Include =" @(NativeBinary)" >
15
+ <TargetPath >runtimes/$(PackageTargetRuntime)/native</TargetPath >
16
+ <IsNative >true</IsNative >
17
+ </File >
18
+ </ItemGroup >
19
+ </Project >
Original file line number Diff line number Diff line change
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
+
3
+ <PropertyGroup >
4
+ <VersionProp >HostResolverVersion</VersionProp >
5
+ <InstallerName >dotnet-hostfxr</InstallerName >
6
+ <InstallerName Condition =" '$(PgoInstrument)' != ''" >$(InstallerName)-pgo</InstallerName >
7
+ <PackageDescription >Provides an implementation of framework resolution strategy used by Microsoft.NETCore.DotNetHost</PackageDescription >
8
+ </PropertyGroup >
9
+
10
+ <ItemGroup >
11
+ <Dependency Include =" Microsoft.NETCore.DotNetAppHost" VersionProp =" AppHostVersion" />
12
+ </ItemGroup >
13
+
14
+ <ItemGroup Condition =" '$(PackageTargetRuntime)' != ''" >
15
+ <NativeBinary Include =" $(DotNetHostBinDir)/$(LibPrefix)hostfxr$(LibSuffix)" />
16
+ <File Include =" @(NativeBinary)" >
17
+ <TargetPath >runtimes/$(PackageTargetRuntime)/native</TargetPath >
18
+ <IsNative >true</IsNative >
19
+ </File >
20
+ </ItemGroup >
21
+
22
+ </Project >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.Build.Traversal" DefaultTargets =" Pack" >
2
2
<ItemGroup >
3
3
<ProjectReference Include =" Microsoft.NETCore.DotNetAppHost\Microsoft.NETCore.DotNetAppHost.pkgproj" />
4
+ <ProjectReference Include =" Microsoft.NETCore.DotNetHost\Microsoft.NETCore.DotNetHost.pkgproj" />
5
+ <ProjectReference Include =" Microsoft.NETCore.DotNetHostPolicy\Microsoft.NETCore.DotNetHostPolicy.pkgproj" />
6
+ <ProjectReference Include =" Microsoft.NETCore.DotNetHostResolver\Microsoft.NETCore.DotNetHostResolver.pkgproj" />
4
7
<ProjectReference Include =" @(ProjectReference)" AdditionalProperties =" PackageTargetRuntime=$(OutputRid)" />
5
8
</ItemGroup >
6
9
</Project >
Original file line number Diff line number Diff line change 53
53
</ItemGroup >
54
54
</Target >
55
55
56
+ <!-- Mobile uses a different hosting model, so we don't include the .NET host components. -->
57
+ <ItemGroup Condition =" '$(TargetsMobile)' != 'true'" >
58
+ <NativeRuntimeAsset Include =" $(DotNetHostBinDir)/$(LibPrefix)hostpolicy$(LibSuffix)" />
59
+ <NativeRuntimeAsset Include =" $(DotNetHostBinDir)/$(LibPrefix)hostfxr$(LibSuffix)" PackOnly =" true" />
60
+ </ItemGroup >
61
+
56
62
<Target Name =" AddRuntimeFilesToPackage" DependsOnTargets =" ResolveRuntimeFilesFromLocalBuild" >
57
63
<ItemGroup >
58
64
<RuntimeFiles Condition =" '%(RuntimeFiles.IsNative)' == 'true'" >
You can’t perform that action at this time.
0 commit comments