Skip to content

Commit

Permalink
Revert "Only build applicable build Tasks when building the repo (dot…
Browse files Browse the repository at this point in the history
…net#104226)"

This reverts commit 61050ae.
  • Loading branch information
matouskozak committed Jul 11, 2024
1 parent 6641e91 commit e777a89
Showing 1 changed file with 6 additions and 21 deletions.
27 changes: 6 additions & 21 deletions src/tasks/tasks.proj
Original file line number Diff line number Diff line change
@@ -1,27 +1,12 @@
<Project Sdk="Microsoft.Build.Traversal">
<ItemGroup Condition="'$(TargetsMobile)' == 'true'">
<ProjectReference Include="AndroidAppBuilder\AndroidAppBuilder.csproj" />
<ProjectReference Include="AotCompilerTask\MonoAOTCompiler.csproj" />
<ProjectReference Include="AppleAppBuilder\AppleAppBuilder.csproj" />
<ProjectReference Include="LibraryBuilder\LibraryBuilder.csproj" />
<ProjectReference Include="Microsoft.NET.Sdk.WebAssembly.Pack.Tasks\Microsoft.NET.Sdk.WebAssembly.Pack.Tasks.csproj" />
<ProjectReference Include="Microsoft.NET.WebAssembly.Webcil\Microsoft.NET.WebAssembly.Webcil.csproj" />
<ProjectReference Include="MobileBuildTasks\MobileBuildTasks.csproj" />
<ProjectReference Include="MonoTargetsTasks\MonoTargetsTasks.csproj" Condition="'$(DotNetBuildSourceOnly)' != 'true'" />
<ProjectReference Include="MonoTargetsTasks\ILStrip\AssemblyStripper\AssemblyStripper.csproj" Condition="'$(DotNetBuildSourceOnly)' != 'true'" />
<ProjectReference Include="TestExclusionListTasks\TestExclusionListTasks.csproj" />
<ProjectReference Include="WasmAppBuilder\WasmAppBuilder.csproj" />
<ProjectReference Include="WasmBuildTasks\WasmBuildTasks.csproj" />

<!-- For WasmBuildTests or any other configuration that tests against workloads -->
<ProjectReference Include="WorkloadBuildTasks\WorkloadBuildTasks.csproj" />
</ItemGroup>

<ItemGroup>
<!-- This could be conditioned on '$(RuntimeFlavor)' == 'CoreCLR' but Mono legs still need it right now -->
<ProjectReference Include="Crossgen2Tasks\Crossgen2Tasks.csproj" />
<ProjectReference Include="$(MSBuildThisFileDirectory)**\*.csproj" />

<ProjectReference Include="installer.tasks\installer.tasks.csproj" />
<!-- These projects do not need to be built during source-build. -->
<!-- For example, they may take dependencies on pre-built packages that aren't build-from-source. e.g. 'Microsoft.DotNet.CilStrip.Sources' -->
<ProjectReference Remove="MonoTargetsTasks\MonoTargetsTasks.csproj;
MonoTargetsTasks\ILStrip\AssemblyStripper\AssemblyStripper.csproj"
Condition="'$(DotNetBuildSourceOnly)' == 'true'" />
</ItemGroup>

<!--
Expand Down

0 comments on commit e777a89

Please sign in to comment.