|
120 | 120 | <SubsetName Include="Mono.WasmRuntime" Description="The WebAssembly runtime." />
|
121 | 121 | <SubsetName Include="Mono.MsCorDbi" Description="The implementation of ICorDebug interface." />
|
122 | 122 | <SubsetName Include="Mono.Workloads" OnDemand="true" Description="Builds the installers and the insertion metadata for Blazor workloads." />
|
123 |
| - |
| 123 | + |
| 124 | + <!-- Host --> |
| 125 | + <SubsetName Include="Host" Description="The .NET hosts, packages, hosting libraries, and tests." /> |
| 126 | + <SubsetName Include="Host.Native" Description="The .NET hosts." /> |
| 127 | + <SubsetName Include="Host.Pkg" Description="The .NET host packages." /> |
| 128 | + <SubsetName Include="Host.Tools" Description="The .NET hosting libraries." /> |
| 129 | + <SubsetName Include="Host.Tests" Description="The .NET hosting tests." /> |
| 130 | + |
124 | 131 | <!-- Libs -->
|
125 | 132 | <SubsetName Include="Libs" Description="The libraries native part, refs and source assemblies, test infra and packages, but NOT the tests (use Libs.Tests to request those explicitly)" />
|
126 | 133 | <SubsetName Include="Libs.Native" Description="The native libraries used in the shared framework." />
|
|
130 | 137 | <SubsetName Include="Libs.Packages" Description="The projects that produce NuGet packages from libraries." />
|
131 | 138 | <SubsetName Include="Libs.Tests" OnDemand="true" Description="The test projects. Note that building this doesn't execute tests: you must also pass the '-test' argument." />
|
132 | 139 |
|
133 |
| - <!-- Host --> |
134 |
| - <SubsetName Include="Host" Description="The .NET hosts, packages, hosting libraries, and tests." /> |
135 |
| - <SubsetName Include="Host.Native" Description="The .NET hosts." /> |
136 |
| - <SubsetName Include="Host.Pkg" Description="The .NET host packages." /> |
137 |
| - <SubsetName Include="Host.Tools" Description="The .NET hosting libraries." /> |
138 |
| - <SubsetName Include="Host.Tests" Description="The .NET hosting tests." /> |
139 |
| - |
140 | 140 | <!-- Packs -->
|
141 | 141 | <SubsetName Include="Packs" Description="Builds the shared framework packs, archives, bundles, installers, and the framework pack tests." />
|
142 | 142 | <SubsetName Include="Packs.Product" Description="Builds the shared framework packs, archives, bundles, and installers." />
|
|
264 | 264 | <ProjectToBuild Include="$(WorkloadsProjectRoot)\workloads.csproj" Category="mono" />
|
265 | 265 | </ItemGroup>
|
266 | 266 |
|
| 267 | + <!-- Host sets --> |
| 268 | + <ItemGroup Condition="$(_subset.Contains('+host.native+'))"> |
| 269 | + <CorehostProjectToBuild Include="$(SharedNativeRoot)corehost\corehost.proj" SignPhase="Binaries" BuildInParallel="false" /> |
| 270 | + <ProjectToBuild Include="@(CorehostProjectToBuild)" Pack="true" Category="host" /> |
| 271 | + </ItemGroup> |
| 272 | + |
| 273 | + <ItemGroup Condition="$(_subset.Contains('+host.tools+'))"> |
| 274 | + <ManagedProjectToBuild Include="$(InstallerProjectRoot)managed\**\*.csproj" SignPhase="Binaries" /> |
| 275 | + <ProjectToBuild Include="@(ManagedProjectToBuild)" BuildInParallel="true" Pack="true" Category="host" /> |
| 276 | + </ItemGroup> |
| 277 | + |
| 278 | + <ItemGroup Condition="$(_subset.Contains('+host.pkg+')) and '$(PgoInstrument)' != 'true'"> |
| 279 | + <PkgprojProjectToBuild Include="$(InstallerProjectRoot)pkg\projects\host-packages.proj" SignPhase="MsiFiles" BuildInParallel="false" /> |
| 280 | + <ProjectToBuild Include="@(PkgprojProjectToBuild)" Pack="true" Category="host" /> |
| 281 | + </ItemGroup> |
| 282 | + |
267 | 283 | <!-- Libraries sets -->
|
268 | 284 | <ItemGroup Condition="$(_subset.Contains('+libs.native+'))">
|
269 | 285 | <ProjectToBuild Include="$(LibrariesProjectRoot)Native\build-native.proj" Category="libs" />
|
|
289 | 305 | <ProjectToBuild Include="$(LibrariesProjectRoot)tests.proj" Category="libs" Test="true" />
|
290 | 306 | </ItemGroup>
|
291 | 307 |
|
292 |
| - <!-- Host sets --> |
293 |
| - <ItemGroup Condition="$(_subset.Contains('+host.native+'))"> |
294 |
| - <CorehostProjectToBuild Include="$(SharedNativeRoot)corehost\corehost.proj" SignPhase="Binaries" BuildInParallel="false" /> |
295 |
| - <ProjectToBuild Include="@(CorehostProjectToBuild)" Pack="true" Category="host" /> |
296 |
| - </ItemGroup> |
297 |
| - |
298 |
| - <ItemGroup Condition="$(_subset.Contains('+host.tools+'))"> |
299 |
| - <ManagedProjectToBuild Include="$(InstallerProjectRoot)managed\**\*.csproj" SignPhase="Binaries" /> |
300 |
| - <ProjectToBuild Include="@(ManagedProjectToBuild)" BuildInParallel="true" Pack="true" Category="host" /> |
301 |
| - </ItemGroup> |
302 |
| - |
303 |
| - <ItemGroup Condition="$(_subset.Contains('+host.pkg+')) and '$(PgoInstrument)' != 'true'"> |
304 |
| - <PkgprojProjectToBuild Include="$(InstallerProjectRoot)pkg\projects\host-packages.proj" SignPhase="MsiFiles" BuildInParallel="false" /> |
305 |
| - <ProjectToBuild Include="@(PkgprojProjectToBuild)" Pack="true" Category="host" /> |
306 |
| - </ItemGroup> |
307 |
| - |
| 308 | + <!-- Host.tests subset (consumes live built libraries assets so needs to come after libraries) --> |
308 | 309 | <ItemGroup Condition="$(_subset.Contains('+host.tests+'))">
|
309 | 310 | <TestProjectToBuild Include="$(InstallerProjectRoot)tests\Microsoft.NET.HostModel.Tests\AppHost.Bundle.Tests\AppHost.Bundle.Tests.csproj" />
|
310 | 311 | <TestProjectToBuild Include="$(InstallerProjectRoot)tests\Microsoft.NET.HostModel.Tests\Microsoft.NET.HostModel.AppHost.Tests\Microsoft.NET.HostModel.AppHost.Tests.csproj" />
|
|
0 commit comments