Updates for dev with dotnet on linux

This commit is contained in:
Wojtek Figat
2023-01-08 20:27:28 +01:00
parent bf60955e5e
commit 4e4f4e700b
9 changed files with 28 additions and 15 deletions

View File

@@ -55,6 +55,13 @@ namespace Flax.Deploy
case TargetPlatform.Linux:
case TargetPlatform.Mac:
{
// Use msbuild for .NET
toolPath = UnixPlatform.Which("dotnet");
if (toolPath != null)
{
return toolPath + " msbuild";
}
// Use msbuild from Mono
toolPath = UnixPlatform.Which("msbuild");
if (toolPath != null)