We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40ced1a commit f48ca26Copy full SHA for f48ca26
tests/projects/csharp/console_with_runtime_json/src/Program.cs
@@ -1,6 +1,6 @@
1
using System.Text.Json;
2
3
-var runtimeFile = Path.Combine(AppContext.BaseDirectory, "runtime.json");
+var runtimeFile = Path.Combine(Directory.GetCurrentDirectory(), "runtime.json");
4
if (!File.Exists(runtimeFile)) {
5
Console.WriteLine("runtime.json missing");
6
return;
tests/projects/csharp/console_with_runtime_json/xmake.lua
@@ -4,3 +4,4 @@ target("app")
set_kind("binary")
add_rules("csharp")
add_files("src/Program.cs")
7
+ set_rundir("src")
0 commit comments