Skip to content

Commit 521bb7b

Browse files
authored
Fix QuickstartClient path (#528)
* Fix QuickstartClient path * Make dotnet run work instead of F5
1 parent a4b4eda commit 521bb7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/QuickstartClient/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ static void PromptForInput()
8888
{
8989
[var script] when script.EndsWith(".py") => ("python", args),
9090
[var script] when script.EndsWith(".js") => ("node", args),
91-
[var script] when Directory.Exists(script) || (File.Exists(script) && script.EndsWith(".csproj")) => ("dotnet", ["run", "--project", script, "--no-build"]),
92-
_ => ("dotnet", ["run", "--project", "../../../../QuickstartWeatherServer", "--no-build"])
91+
[var script] when Directory.Exists(script) || (File.Exists(script) && script.EndsWith(".csproj")) => ("dotnet", ["run", "--project", script]),
92+
_ => ("dotnet", ["run", "--project", "../QuickstartWeatherServer"])
9393
};
9494
}

0 commit comments

Comments
 (0)