|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | 3 | <PropertyGroup> |
4 | | - <TargetFramework>net6.0</TargetFramework> |
5 | | - |
| 4 | + <TargetFrameworks>net6.0;net7.0</TargetFrameworks> |
| 5 | + <ImplicitUsings>enable</ImplicitUsings> |
6 | 6 | <IsPackable>false</IsPackable> |
7 | 7 | </PropertyGroup> |
8 | 8 |
|
|
11 | 11 | <None Remove="TestData\combinedshardingsettings.json" /> |
12 | 12 | <None Remove="TestData\example3-appsettings.json" /> |
13 | 13 | </ItemGroup> |
14 | | - |
15 | | - <ItemGroup> |
| 14 | + |
| 15 | + <ItemGroup Condition=" '$(TargetFramework)' == 'net6.0'"> |
16 | 16 | <PackageReference Include="EfCore.TestSupport" Version="5.3.0" /> |
17 | 17 | <PackageReference Include="EntityFrameworkCore.Exceptions.SqlServer" Version="6.0.3.1" /> |
18 | 18 | <PackageReference Include="Microsoft.AspNetCore.Hosting" Version="2.2.7" /> |
|
33 | 33 | </PackageReference> |
34 | 34 | </ItemGroup> |
35 | 35 |
|
| 36 | + <ItemGroup Condition=" '$(TargetFramework)' == 'net7.0'"> |
| 37 | + <PackageReference Include="EfCore.TestSupport" Version="5.3.0" /> |
| 38 | + <PackageReference Include="EntityFrameworkCore.Exceptions.SqlServer" Version="6.0.3.1" /> |
| 39 | + <PackageReference Include="Microsoft.AspNetCore.Hosting" Version="2.2.7" /> |
| 40 | + <PackageReference Include="Microsoft.AspNetCore.Identity" Version="2.2.0" /> |
| 41 | + <PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="7.0.0" /> |
| 42 | + <PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.0" /> |
| 43 | + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" /> |
| 44 | + <PackageReference Include="Moq" Version="4.17.2" /> |
| 45 | + <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="7.0.0" /> |
| 46 | + <PackageReference Include="xunit" Version="2.4.2" /> |
| 47 | + <PackageReference Include="xunit.runner.visualstudio" Version="2.4.5"> |
| 48 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 49 | + <PrivateAssets>all</PrivateAssets> |
| 50 | + </PackageReference> |
| 51 | + <PackageReference Include="coverlet.collector" Version="3.2.0"> |
| 52 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 53 | + <PrivateAssets>all</PrivateAssets> |
| 54 | + </PackageReference> |
| 55 | + </ItemGroup> |
| 56 | + |
36 | 57 | <ItemGroup> |
37 | 58 | <ProjectReference Include="..\AuthPermissions.AspNetCore\AuthPermissions.AspNetCore.csproj" /> |
38 | 59 | <ProjectReference Include="..\AuthPermissions.SupportCode\AuthPermissions.SupportCode.csproj" /> |
|
0 commit comments