mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 04:53:29 +01:00
fixed cake build
This commit is contained in:
parent
a892d2424e
commit
aca1ece870
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue