Run editor with selected project configuration in launchSettings.json

This commit is contained in:
2025-12-16 01:20:49 +02:00
parent b70ab01308
commit 1327fa40cb
2 changed files with 2 additions and 1 deletions

View File

@@ -630,7 +630,7 @@ namespace Flax.Build.Projects.VisualStudio
{
var profiles = new Dictionary<string, string>();
var profile = new StringBuilder();
var configuration = "Development";
var configuration = "$(FlaxConfiguration)";
var editorPath = Utilities.NormalizePath(Path.Combine(Globals.EngineRoot, Platform.GetEditorBinaryDirectory(), configuration, $"FlaxEditor{Utilities.GetPlatformExecutableExt()}")).Replace('\\', '/');
var workspacePath = Utilities.NormalizePath(solutionDirectory).Replace('\\', '/');
foreach (var project in projects)