Files
Pal3.Unity/tools/CodeStyle.Tests/CodeStyle.Tests.csproj
Jiaqi (0x7c13) Liu 598197ee77 build: migrate C# formatting and add offscreen editor test support
Host IMGUI tests on a detached panel without creating a native editor window.
2026-11-19 01:13:08 +08:00

25 lines
1.1 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<AssemblyName>Pal3.Tools.CodeStyle.Tests</AssemblyName>
<RootNamespace>Pal3.Tools.CodeStyle.Tests</RootNamespace>
<IsTestProject>true</IsTestProject>
<IsPackable>false</IsPackable>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<NuGetAudit>false</NuGetAudit>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../CodeStyle/CodeStyle.csproj" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="NUnit" Version="3.14.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
</ItemGroup>
<Target Name="CopyFormatterForCliTests" AfterTargets="Build">
<ItemGroup>
<FormatterOutput Include="../CodeStyle/bin/$(Configuration)/net10.0/**/*" />
</ItemGroup>
<Copy SourceFiles="@(FormatterOutput)" DestinationFiles="@(FormatterOutput->'$(TargetDir)formatter/%(RecursiveDir)%(Filename)%(Extension)')" SkipUnchangedFiles="true" />
</Target>
</Project>