Skip to content

Commit

Permalink
Enable parallel builds back (#10420)
Browse files Browse the repository at this point in the history
* [build] Go back to using parallel builds

* Make sure to really disable resizetizer

* Try not build in parallel the sample for BlazorClassLibrary

* Fix end tag

* Update MauiRazorClassLibrarySample.csproj

* Update Microsoft.Maui.Resizetizer.After.targets
  • Loading branch information
rmarinho authored Mar 16, 2023
1 parent 082743d commit 2869df9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions eng/cake/dotnet.cake
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,10 @@ Task("dotnet-build")
RunMSBuildWithDotNet("./Microsoft.Maui.BuildTasks.slnf");
if (IsRunningOnWindows())
{
RunMSBuildWithDotNet("./Microsoft.Maui.sln", maxCpuCount: 1);
RunMSBuildWithDotNet("./Microsoft.Maui.sln");
}
else
{
// NOTE: intentionally omit maxCpuCount, to avoid an issue with the 7.0.100 .NET SDK
RunMSBuildWithDotNet("./Microsoft.Maui-mac.slnf");
}
});
Expand All @@ -148,7 +147,7 @@ Task("dotnet-samples")
["UseWorkload"] = "true",
// ["GenerateAppxPackageOnBuild"] = "true",
["RestoreConfigFile"] = tempDir.CombineWithFilePath("NuGet.config").FullPath,
}, maxCpuCount: 1, binlogPrefix: "sample-");
}, binlogPrefix: "sample-");
});

Task("dotnet-templates")
Expand Down

0 comments on commit 2869df9

Please sign in to comment.