Skip to content

Commit 0e42031

Browse files
authored
Fixes #66 - build warnings with latest VS2022 preview (#67)
1 parent 0a698f1 commit 0e42031

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

test/StronglyTypedIds.IntegrationTests/StronglyTypedIds.IntegrationTests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="5.0.0" />
2929
<PackageReference Include="System.Text.Json" Version="4.7.2" />
3030
</ItemGroup>
31-
32-
<ItemGroup Condition=" '$(TargetFramework)' != 'net5.0'">
31+
32+
<ItemGroup Condition=" '$(TargetFramework)' != 'net5.0' and '$(TargetFramework)' != 'net6.0'">
3333
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.17" />
3434
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.17" />
3535
<PackageReference Include="System.Text.Json" Version="4.7.2" />

test/StronglyTypedIds.Nuget.Attributes.IntegrationTests/StronglyTypedIds.Nuget.Attributes.IntegrationTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<PackageReference Include="System.Text.Json" Version="4.7.2" />
3333
</ItemGroup>
3434

35-
<ItemGroup Condition=" '$(TargetFramework)' != 'net5.0'">
35+
<ItemGroup Condition=" '$(TargetFramework)' != 'net5.0' and '$(TargetFramework)' != 'net6.0'">
3636
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.17" />
3737
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.17" />
3838
<PackageReference Include="System.Text.Json" Version="4.7.2" />

test/StronglyTypedIds.Nuget.IntegrationTests/StronglyTypedIds.Nuget.IntegrationTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<PackageReference Include="System.Text.Json" Version="4.7.2" />
3232
</ItemGroup>
3333

34-
<ItemGroup Condition=" '$(TargetFramework)' != 'net5.0'">
34+
<ItemGroup Condition=" '$(TargetFramework)' != 'net5.0' and '$(TargetFramework)' != 'net6.0'">
3535
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.17" />
3636
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.17" />
3737
<PackageReference Include="System.Text.Json" Version="4.7.2" />

0 commit comments

Comments
 (0)