summaryrefslogtreecommitdiff
path: root/tests/projects/csharp/console_with_runtime_json
diff options
context:
space:
mode:
authorJassJam <[email protected]>2026-02-28 15:37:56 +0000
committerruki <[email protected]>2026-03-14 00:10:58 +0800
commita92e7c4087443cd91dafe14d2a5aa316a288b7c5 (patch)
treee356878da6af96a71d547906006fe45ebdbb8ed3 /tests/projects/csharp/console_with_runtime_json
parenta35ec2dcea9ca5c639ca9d1332a46ede16b959c0 (diff)
feat: generate csproj on demand
Diffstat (limited to 'tests/projects/csharp/console_with_runtime_json')
-rw-r--r--tests/projects/csharp/console_with_runtime_json/src/app.csproj14
-rw-r--r--tests/projects/csharp/console_with_runtime_json/xmake.lua2
2 files changed, 1 insertions, 15 deletions
diff --git a/tests/projects/csharp/console_with_runtime_json/src/app.csproj b/tests/projects/csharp/console_with_runtime_json/src/app.csproj
deleted file mode 100644
index 4e754bb15..000000000
--- a/tests/projects/csharp/console_with_runtime_json/src/app.csproj
+++ /dev/null
@@ -1,14 +0,0 @@
-<Project Sdk="Microsoft.NET.Sdk">
- <PropertyGroup>
- <OutputType>Exe</OutputType>
- <TargetFramework>net8.0</TargetFramework>
- <ImplicitUsings>enable</ImplicitUsings>
- <Nullable>enable</Nullable>
- </PropertyGroup>
- <ItemGroup>
- <None Include="runtime.json">
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </None>
- </ItemGroup>
-</Project>
-
diff --git a/tests/projects/csharp/console_with_runtime_json/xmake.lua b/tests/projects/csharp/console_with_runtime_json/xmake.lua
index 8d8539b26..474eda548 100644
--- a/tests/projects/csharp/console_with_runtime_json/xmake.lua
+++ b/tests/projects/csharp/console_with_runtime_json/xmake.lua
@@ -3,4 +3,4 @@ add_rules("mode.debug", "mode.release")
target("app")
set_kind("binary")
add_rules("csharp")
- add_files("src/Program.cs", "src/app.csproj")
+ add_files("src/Program.cs")