btcpayserver/BTCPayServer.Tests/BTCPayServer.Tests.csproj

54 lines
2.3 KiB
XML
Raw Normal View History

2020-01-16 10:03:41 +01:00
<Project Sdk="Microsoft.NET.Sdk.Web">
2017-09-13 08:47:34 +02:00
<PropertyGroup>
2019-10-03 13:26:20 +02:00
<TargetFramework>netcoreapp3.1</TargetFramework>
2019-10-03 11:25:07 +02:00
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">$(TargetFrameworkOverride)</TargetFramework>
2017-09-13 08:47:34 +02:00
<IsPackable>false</IsPackable>
2018-02-17 05:18:16 +01:00
<NoWarn>NU1701,CA1816,CA1308,CA1810,CA2208</NoWarn>
2020-01-12 07:50:23 +01:00
<LangVersion>8.0</LangVersion>
<UserSecretsId>AB0AC1DD-9D26-485B-9416-56A33F268117</UserSecretsId>
2020-01-16 10:03:41 +01:00
<!--https://devblogs.microsoft.com/aspnet/testing-asp-net-core-mvc-web-apps-in-memory/-->
<PreserveCompilationContext>true</PreserveCompilationContext>
2017-09-13 08:47:34 +02:00
</PropertyGroup>
2020-01-16 10:03:41 +01:00
<!--https://devblogs.microsoft.com/aspnet/testing-asp-net-core-mvc-web-apps-in-memory/-->
<Target Name="CopyAditionalFiles" 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>
2019-10-31 07:10:00 +01:00
<PropertyGroup Condition="'$(CI_TESTS)' == 'true'">
<DefineConstants>$(DefineConstants);SHORT_TIMEOUT</DefineConstants>
2019-10-31 07:10:00 +01:00
</PropertyGroup>
2019-10-03 11:25:07 +02:00
2017-09-13 08:47:34 +02:00
<ItemGroup>
2020-01-12 07:32:26 +01:00
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
2019-05-12 10:13:26 +02:00
<PackageReference Include="Selenium.WebDriver" Version="3.141.0" />
<PackageReference Include="Selenium.WebDriver.ChromeDriver" Version="79.0.3945.3600" />
2018-10-31 05:03:12 +01:00
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
2018-09-09 16:04:16 +02:00
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
2017-09-13 08:47:34 +02:00
</ItemGroup>
<ItemGroup>
<None Update=".dockerignore">
<DependentUpon>Dockerfile</DependentUpon>
</None>
<None Update="docker-compose.yml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
2018-10-28 13:46:12 +01:00
<None Update="xunit.runner.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
2018-10-17 06:30:43 +02:00
<ItemGroup>
2019-05-24 11:42:22 +02:00
<ProjectReference Include="..\BTCPayServer.Rating\BTCPayServer.Rating.csproj" />
2018-10-17 06:30:43 +02:00
<ProjectReference Include="..\BTCPayServer\BTCPayServer.csproj" />
</ItemGroup>
2017-09-13 08:47:34 +02:00
</Project>