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>
|
2018-11-14 08:48:25 +01:00
|
|
|
|
<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>
|
2020-01-16 08:52:46 +01:00
|
|
|
|
|
2019-10-31 07:10:00 +01:00
|
|
|
|
<PropertyGroup Condition="'$(CI_TESTS)' == 'true'">
|
2019-11-03 08:16:52 +01:00
|
|
|
|
<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" />
|
2020-01-18 08:59:25 +01:00
|
|
|
|
<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>
|
|
|
|
|
|
2017-10-02 17:41:03 +02:00
|
|
|
|
<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>
|
2017-10-02 17:41:03 +02:00
|
|
|
|
</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>
|
2019-04-22 09:41:20 +02:00
|
|
|
|
|
2017-09-13 08:47:34 +02:00
|
|
|
|
</Project>
|