You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.7 KiB
40 lines
1.7 KiB
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<Import Project="..\..\common.props" />
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net5.0</TargetFramework>
|
|
<OutputType>Exe</OutputType>
|
|
<AssetTargetFallback>$(AssetTargetFallback);portable-net45+win8+wp8+wpa81;</AssetTargetFallback>
|
|
<RootNamespace>API</RootNamespace>
|
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
|
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
|
|
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
|
|
<PreserveCompilationContext>true</PreserveCompilationContext>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.1" />
|
|
<PackageReference Include="HtmlAgilityPack" Version="1.11.32" />
|
|
<ProjectReference Include="..\API.Application.Tests\API.Application.Tests.csproj" />
|
|
<ProjectReference Include="..\..\src\API.Web\API.Web.csproj" />
|
|
<PackageReference Include="Volo.Abp.AspNetCore.TestBase" Version="4.4.3" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Include="xunit.runner.json">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
<!-- https://github.com/NuGet/Home/issues/4412 -->
|
|
<Target Name="CopyDepsFiles" AfterTargets="Build" Condition="'$(TargetFramework)'!=''">
|
|
<ItemGroup>
|
|
<DepsFilePaths Include="$([System.IO.Path]::ChangeExtension('%(_ResolvedProjectReferencePaths.FullPath)', '.deps.json'))" />
|
|
</ItemGroup>
|
|
|
|
<Copy SourceFiles="%(DepsFilePaths.FullPath)" DestinationFolder="$(OutputPath)" Condition="Exists('%(DepsFilePaths.FullPath)')" />
|
|
</Target>
|
|
|
|
</Project>
|
|
|