diff options
| author | ruki <[email protected]> | 2026-03-14 23:59:57 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-03-14 23:59:57 +0800 |
| commit | ca72dbcfd8c45f194b9770f63c91ebd00412fa39 (patch) | |
| tree | 55b8bedf7da0a11be16c0ff026db3a8bdcf844b6 /tests/projects | |
| parent | 894833ab4ed9cc930c60ab7b9dec889ab1a67277 (diff) | |
improve csproj rules
Diffstat (limited to 'tests/projects')
5 files changed, 0 insertions, 34 deletions
diff --git a/tests/projects/csharp/existing_csproj/.gitignore b/tests/projects/csharp/existing_csproj/.gitignore deleted file mode 100644 index 6b8d3af38..000000000 --- a/tests/projects/csharp/existing_csproj/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -.xmake/ -build/ -bin/ -obj/ -vsxmake*/ -.vs/ diff --git a/tests/projects/csharp/existing_csproj/Program.cs b/tests/projects/csharp/existing_csproj/Program.cs deleted file mode 100644 index 3751555cb..000000000 --- a/tests/projects/csharp/existing_csproj/Program.cs +++ /dev/null @@ -1,2 +0,0 @@ -// See https://aka.ms/new-console-template for more information -Console.WriteLine("Hello, World!"); diff --git a/tests/projects/csharp/existing_csproj/existing_csproj.csproj b/tests/projects/csharp/existing_csproj/existing_csproj.csproj deleted file mode 100644 index ed9781c22..000000000 --- a/tests/projects/csharp/existing_csproj/existing_csproj.csproj +++ /dev/null @@ -1,10 +0,0 @@ -<Project Sdk="Microsoft.NET.Sdk"> - - <PropertyGroup> - <OutputType>Exe</OutputType> - <TargetFramework>net10.0</TargetFramework> - <ImplicitUsings>enable</ImplicitUsings> - <Nullable>enable</Nullable> - </PropertyGroup> - -</Project> diff --git a/tests/projects/csharp/existing_csproj/test.lua b/tests/projects/csharp/existing_csproj/test.lua deleted file mode 100644 index 5ab8adc69..000000000 --- a/tests/projects/csharp/existing_csproj/test.lua +++ /dev/null @@ -1,10 +0,0 @@ -import("lib.detect.find_tool") - -function test_build(t) - local dotnet = find_tool("dotnet") - if dotnet then - t:build() - else - return t:skip("dotnet not found") - end -end diff --git a/tests/projects/csharp/existing_csproj/xmake.lua b/tests/projects/csharp/existing_csproj/xmake.lua deleted file mode 100644 index 95e5e45d9..000000000 --- a/tests/projects/csharp/existing_csproj/xmake.lua +++ /dev/null @@ -1,6 +0,0 @@ -add_rules("mode.debug", "mode.release") - -target("test") - set_kind("binary") - add_rules("csharp") - add_files("existing_csproj.csproj") |
