Fix QuickstartClient path (#528)
* Fix QuickstartClient path * Make dotnet run work instead of F5
This commit is contained in:
parent
a4b4edaa2a
commit
521bb7bde2
1 changed files with 2 additions and 2 deletions
|
|
@ -88,7 +88,7 @@ static (string command, string[] arguments) GetCommandAndArguments(string[] args
|
|||
{
|
||||
[var script] when script.EndsWith(".py") => ("python", args),
|
||||
[var script] when script.EndsWith(".js") => ("node", args),
|
||||
[var script] when Directory.Exists(script) || (File.Exists(script) && script.EndsWith(".csproj")) => ("dotnet", ["run", "--project", script, "--no-build"]),
|
||||
_ => ("dotnet", ["run", "--project", "../../../../QuickstartWeatherServer", "--no-build"])
|
||||
[var script] when Directory.Exists(script) || (File.Exists(script) && script.EndsWith(".csproj")) => ("dotnet", ["run", "--project", script]),
|
||||
_ => ("dotnet", ["run", "--project", "../QuickstartWeatherServer"])
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue