30 lines
1.1 KiB
XML
30 lines
1.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net8.0</TargetFrameworks>
|
|
<IsPackable>false</IsPackable>
|
|
<!-- 调试入口:让测试工程可直接 dotnet run / F5,进入 DebugMain.Main 联调;
|
|
GenerateProgramFile=false 关闭 Test SDK 自动生成的空 Main,避免 CS0017。
|
|
dotnet test / vstest 不受影响,照常发现全部用例。 -->
|
|
<OutputType>Exe</OutputType>
|
|
<GenerateProgramFile>false</GenerateProgramFile>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" />
|
|
<PackageReference Include="xunit" />
|
|
<PackageReference Include="xunit.runner.visualstudio" />
|
|
<PackageReference Include="Microsoft.Extensions.Configuration.Json" />
|
|
<PackageReference Include="Microsoft.Extensions.Configuration" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="appsettings.json" CopyToOutputDirectory="PreserveNewest" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\src\Yh.SchClass.OpenApi\Yh.SchClass.OpenApi.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|