From f48ca26675a3b9eac14374f98cc175a087e2e3e1 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 17 Mar 2026 22:45:32 +0800 Subject: improve tests --- tests/projects/csharp/console_with_runtime_json/src/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/projects/csharp/console_with_runtime_json/src') diff --git a/tests/projects/csharp/console_with_runtime_json/src/Program.cs b/tests/projects/csharp/console_with_runtime_json/src/Program.cs index 690faf873..fd836a339 100644 --- a/tests/projects/csharp/console_with_runtime_json/src/Program.cs +++ b/tests/projects/csharp/console_with_runtime_json/src/Program.cs @@ -1,6 +1,6 @@ using System.Text.Json; -var runtimeFile = Path.Combine(AppContext.BaseDirectory, "runtime.json"); +var runtimeFile = Path.Combine(Directory.GetCurrentDirectory(), "runtime.json"); if (!File.Exists(runtimeFile)) { Console.WriteLine("runtime.json missing"); return; -- cgit v1.3.1