diff options
| author | ruki <[email protected]> | 2026-03-18 00:48:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-03-18 00:48:31 +0800 |
| commit | ed0996a0ead18b79a3e279a200db0f9e13a4ec23 (patch) | |
| tree | 878cbb5529398466875f7aba5a0098e751cff7f0 | |
| parent | 7fd8b5a17185c609928e0b64c71ceaca1b7e03cd (diff) | |
improve csharp tests
| -rw-r--r-- | tests/projects/csharp/console/xmake.lua | 1 | ||||
| -rw-r--r-- | tests/projects/csharp/console_with_runtime_json/xmake.lua | 1 | ||||
| -rw-r--r-- | tests/projects/csharp/multiple_library/xmake.lua | 3 | ||||
| -rw-r--r-- | tests/projects/csharp/nuget_package/xmake.lua | 1 | ||||
| -rw-r--r-- | tests/projects/csharp/shared_library/xmake.lua | 2 | ||||
| -rw-r--r-- | tests/projects/csharp/web_project/xmake.lua | 1 |
6 files changed, 0 insertions, 9 deletions
diff --git a/tests/projects/csharp/console/xmake.lua b/tests/projects/csharp/console/xmake.lua index 3288c96a8..fd4546f97 100644 --- a/tests/projects/csharp/console/xmake.lua +++ b/tests/projects/csharp/console/xmake.lua @@ -2,5 +2,4 @@ add_rules("mode.debug", "mode.release") target("test") set_kind("binary") - add_rules("csharp") add_files("src/Program.cs") diff --git a/tests/projects/csharp/console_with_runtime_json/xmake.lua b/tests/projects/csharp/console_with_runtime_json/xmake.lua index 979f74307..3d59440c7 100644 --- a/tests/projects/csharp/console_with_runtime_json/xmake.lua +++ b/tests/projects/csharp/console_with_runtime_json/xmake.lua @@ -2,6 +2,5 @@ add_rules("mode.debug", "mode.release") target("app") set_kind("binary") - add_rules("csharp") add_files("src/Program.cs") set_rundir("src") diff --git a/tests/projects/csharp/multiple_library/xmake.lua b/tests/projects/csharp/multiple_library/xmake.lua index db3f65811..ff40c47dc 100644 --- a/tests/projects/csharp/multiple_library/xmake.lua +++ b/tests/projects/csharp/multiple_library/xmake.lua @@ -2,17 +2,14 @@ add_rules("mode.debug", "mode.release") target("libalpha") set_kind("shared") - add_rules("csharp") add_files("src/libalpha/*.cs") target("libbeta") set_kind("shared") - add_rules("csharp") add_deps("libalpha") add_files("src/libbeta/*.cs") target("sample") set_kind("binary") - add_rules("csharp") add_deps("libbeta") add_files("src/sample/*.cs") diff --git a/tests/projects/csharp/nuget_package/xmake.lua b/tests/projects/csharp/nuget_package/xmake.lua index 6ec474822..d770f37b8 100644 --- a/tests/projects/csharp/nuget_package/xmake.lua +++ b/tests/projects/csharp/nuget_package/xmake.lua @@ -3,6 +3,5 @@ add_requires("nuget::Humanizer.Core 2.14.1") target("app") set_kind("binary") - add_rules("csharp") add_files("src/Program.cs") add_packages("nuget::Humanizer.Core") diff --git a/tests/projects/csharp/shared_library/xmake.lua b/tests/projects/csharp/shared_library/xmake.lua index f8549444e..70cfb0233 100644 --- a/tests/projects/csharp/shared_library/xmake.lua +++ b/tests/projects/csharp/shared_library/xmake.lua @@ -2,11 +2,9 @@ add_rules("mode.debug", "mode.release") target("mylib") set_kind("shared") - add_rules("csharp") add_files("src/lib/*.cs") target("app") set_kind("binary") - add_rules("csharp") add_deps("mylib") add_files("src/app/*.cs") diff --git a/tests/projects/csharp/web_project/xmake.lua b/tests/projects/csharp/web_project/xmake.lua index 56bcad79c..1eecf8e7b 100644 --- a/tests/projects/csharp/web_project/xmake.lua +++ b/tests/projects/csharp/web_project/xmake.lua @@ -2,6 +2,5 @@ add_rules("mode.debug", "mode.release") target("webapp") set_kind("binary") - add_rules("csharp") add_values("csharp.sdk", "Microsoft.NET.Sdk.Web") add_files("src/Program.cs") |
