Prepare Flax.Build project for .NET 7
Add .NET SDK project generator and upgrade Flax.Build project files
This commit is contained in:
@@ -5,6 +5,7 @@ using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using Flax.Build.Graph;
|
||||
using Flax.Build.NativeCpp;
|
||||
using Task = Flax.Build.Graph.Task;
|
||||
|
||||
namespace Flax.Build
|
||||
{
|
||||
|
||||
@@ -4,6 +4,7 @@ using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using Flax.Build.Graph;
|
||||
using Flax.Build.NativeCpp;
|
||||
using Task = Flax.Build.Graph.Task;
|
||||
|
||||
namespace Flax.Build.Platforms
|
||||
{
|
||||
|
||||
@@ -5,6 +5,7 @@ using System.IO;
|
||||
using System.Collections.Generic;
|
||||
using Flax.Build.Graph;
|
||||
using Flax.Build.NativeCpp;
|
||||
using Task = Flax.Build.Graph.Task;
|
||||
|
||||
namespace Flax.Build
|
||||
{
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace Flax.Build.Platforms
|
||||
StartInfo =
|
||||
{
|
||||
FileName = "/bin/sh",
|
||||
Arguments = string.Format("-c 'which {0}'", name),
|
||||
ArgumentList = { "-c", $"which {name}" },
|
||||
UseShellExecute = false,
|
||||
CreateNoWindow = true,
|
||||
RedirectStandardOutput = true,
|
||||
|
||||
@@ -7,6 +7,7 @@ using System.IO;
|
||||
using System.Text.RegularExpressions;
|
||||
using Flax.Build.Graph;
|
||||
using Flax.Build.NativeCpp;
|
||||
using Task = Flax.Build.Graph.Task;
|
||||
|
||||
namespace Flax.Build.Platforms
|
||||
{
|
||||
|
||||
@@ -9,6 +9,7 @@ using System.Xml;
|
||||
using Flax.Build.Graph;
|
||||
using Flax.Build.NativeCpp;
|
||||
using Flax.Build.Projects.VisualStudio;
|
||||
using Task = Flax.Build.Graph.Task;
|
||||
|
||||
// ReSharper disable InconsistentNaming
|
||||
|
||||
|
||||
Reference in New Issue
Block a user