Disable caching for dotnet target build with msbuild

This commit is contained in:
Wojciech Figat
2022-01-14 15:04:15 +01:00
parent b84744699e
commit c9a779fea9

View File

@@ -21,6 +21,7 @@ namespace Flax.Build
task.WorkingDirectory = Globals.Root;
task.InfoMessage = "Building " + Path.GetFileName(target.CustomExternalProjectFilePath);
task.Cost = 100;
task.DisableCache = true;
task.CommandPath = VCEnvironment.MSBuildPath;
task.CommandArguments = string.Format("\"{0}\" /m /t:Build /p:Configuration=\"{1}\" /p:Platform=\"{2}\" {3} /nologo", target.CustomExternalProjectFilePath, configuration.ToString(), "AnyCPU", VCEnvironment.Verbosity);
return;