1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-25 22:18:34 +01:00

fixed cake build

This commit is contained in:
Ell 2023-11-22 21:56:27 +01:00
parent a892d2424e
commit aca1ece870

View file

@ -25,7 +25,9 @@ Task("Prepare").Does(() => {
Task("Build").IsDependentOn("Prepare").Does(() =>{ Task("Build").IsDependentOn("Prepare").Does(() =>{
var settings = new DotNetBuildSettings { var settings = new DotNetBuildSettings {
Configuration = config, Configuration = config,
ArgumentCustomization = args => args.Append($"/p:Version={version}") ArgumentCustomization = args => args.Append($"/p:Version={version}"),
// .net 8 has an issue that causes simultaneous tool restores during build to fail
MSBuildSettings = new DotNetMSBuildSettings { MaxCpuCount = 1 }
}; };
DotNetBuild("MLEM.sln", settings); DotNetBuild("MLEM.sln", settings);
DotNetBuild("MLEM.FNA.sln", settings); DotNetBuild("MLEM.FNA.sln", settings);