2023-11-28 15:20:03 +01:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
2020-07-29 11:55:28 +02:00
|
|
|
<Import Project="../Build/Common.csproj" />
|
2017-09-13 08:47:34 +02:00
|
|
|
<PropertyGroup>
|
2023-11-28 15:20:03 +01:00
|
|
|
<NoWarn>$(NoWarn),xUnit1031</NoWarn>
|
2017-09-13 08:47:34 +02:00
|
|
|
<IsPackable>false</IsPackable>
|
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>
|
2023-11-21 06:11:17 +01:00
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
|
2023-11-21 06:19:11 +01:00
|
|
|
<PackageReference Include="Newtonsoft.Json.Schema" Version="3.0.15" />
|
2022-05-06 05:07:53 +02:00
|
|
|
<PackageReference Include="Selenium.Support" Version="4.1.1" />
|
|
|
|
<PackageReference Include="Selenium.WebDriver" Version="4.1.1" />
|
2023-11-21 06:11:17 +01:00
|
|
|
<PackageReference Include="Selenium.WebDriver.ChromeDriver" Version="119.0.6045.10500" />
|
2023-11-21 06:19:11 +01:00
|
|
|
<PackageReference Include="xunit" Version="2.6.2" />
|
|
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.4">
|
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>
|
2020-07-29 11:55:28 +02:00
|
|
|
<ItemGroup Condition="'$(Altcoins)' != 'true'">
|
|
|
|
<Compile Remove="AltcoinTests\**\*.cs"></Compile>
|
|
|
|
</ItemGroup>
|
2017-10-02 17:41:03 +02:00
|
|
|
<ItemGroup>
|
|
|
|
<None Update=".dockerignore">
|
|
|
|
<DependentUpon>Dockerfile</DependentUpon>
|
|
|
|
</None>
|
2020-07-29 12:36:23 +02:00
|
|
|
<None Update="docker-compose.altcoins.yml">
|
|
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
|
|
</None>
|
2017-10-02 17:41:03 +02:00
|
|
|
<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>
|