Progress for dotnet7 support on Linux

This commit is contained in:
Wojtek Figat
2023-01-08 15:05:09 +01:00
parent 8896ebadda
commit 5ec9716eac
3 changed files with 3 additions and 7 deletions

View File

@@ -214,10 +214,9 @@ namespace Flax.Build.Projects.VisualStudioCode
}
case TargetPlatform.Linux:
{
json.AddField("command", Path.Combine(Globals.EngineRoot, "Source/Platforms/Editor/Linux/Mono/bin/mono"));
json.AddField("command", Path.ChangeExtension(buildToolPath, null));
json.BeginArray("args");
{
json.AddUnnamedField(buildToolPath);
json.AddUnnamedField("--build");
json.AddUnnamedField("--log");
json.AddUnnamedField("--mutex");
@@ -242,11 +241,9 @@ namespace Flax.Build.Projects.VisualStudioCode
}
case TargetPlatform.Mac:
{
VisualStudioCodeInstance.GetInstance();
json.AddField("command", "mono"); // TODO: use bundled mono
json.AddField("command", buildToolPath);
json.BeginArray("args");
{
json.AddUnnamedField(buildToolPath);
json.AddUnnamedField("--build");
json.AddUnnamedField("--log");
json.AddUnnamedField("--mutex");