Skip to content

Commit f48ca26

Browse files
committed
improve tests
1 parent 40ced1a commit f48ca26

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/projects/csharp/console_with_runtime_json/src/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Text.Json;
22

3-
var runtimeFile = Path.Combine(AppContext.BaseDirectory, "runtime.json");
3+
var runtimeFile = Path.Combine(Directory.GetCurrentDirectory(), "runtime.json");
44
if (!File.Exists(runtimeFile)) {
55
Console.WriteLine("runtime.json missing");
66
return;

tests/projects/csharp/console_with_runtime_json/xmake.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ target("app")
44
set_kind("binary")
55
add_rules("csharp")
66
add_files("src/Program.cs")
7+
set_rundir("src")

0 commit comments

Comments
 (0)