Fix wrong Visual Studio Code preLaunchTask in launch tasks

This commit is contained in:
2023-10-12 16:37:32 +03:00
parent fa96707c57
commit b9c6dcd4c7

View File

@@ -389,7 +389,7 @@ namespace Flax.Build.Projects.VisualStudioCode
json.AddField("type", "coreclr");
json.AddField("name", name);
json.AddField("request", "launch");
json.AddField("preLaunchTask", solution.Name + '|' + configuration.Name);
json.AddField("preLaunchTask", project.Name + '|' + configuration.Name);
json.AddField("cwd", buildToolWorkspace);
if (configuration.Platform == Platform.BuildPlatform.Target)
{