forked from Dotnet-Boxed/Templates
-
Notifications
You must be signed in to change notification settings - Fork 2
/
ApiTemplate.IntegrationTest.csproj
35 lines (31 loc) · 1.71 KB
/
ApiTemplate.IntegrationTest.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<Project Sdk="Microsoft.NET.Sdk.Web">
<!--#if (AuthoringMode)-->
<PropertyGroup>
<!-- Modify these constants to enable/disable a feature to debug the template. Note that this only affects the C#. -->
<DefineConstants>$(DefineConstants);Controllers;HttpsEverywhere;Serilog;DistributedCacheRedis</DefineConstants>
<!-- Workaround to build this project: https://github.com/dotnet/templating/issues/1438 -->
<Serilog>true</Serilog>
</PropertyGroup>
<!--#endif-->
<PropertyGroup Label="Build">
<TargetFramework>net6.0</TargetFramework>
<NoDefaultLaunchSettingsFile>true</NoDefaultLaunchSettingsFile>
</PropertyGroup>
<ItemGroup Label="Package Versions">
<PackageReference Include="coverlet.collector" PrivateAssets="all" Version="3.1.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.7" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="6.0.3" />
<PackageReference Include="Moq" Version="4.17.2" />
<PackageReference Include="Serilog.Sinks.XUnit" Version="3.0.3" Condition="'$(Serilog)' == 'true'" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" PrivateAssets="all" Version="2.4.3">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup Label="Project References">
<ProjectReference Include="..\..\Source\ApiTemplate\ApiTemplate.csproj" />
</ItemGroup>
</Project>