Skip to content
Snippets Groups Projects
Commit cb766ef5 authored by Petar Hristov's avatar Petar Hristov :speech_balloon:
Browse files

Added condition to net6.0 too (coscine/issues#2087)

parent e4be350e
No related branches found
No related tags found
1 merge request!162Fix: EF compatibility with net6.0
......@@ -33,8 +33,8 @@
<PackageReference Include="LinqKit" Version="1.1.23" />
<PackageReference Include="Inflector.NetStandard" Version="1.2.2" />
<!-- Note: use newest Microsoft.EntityFrameworkCore Version for net6.0 -->
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.4" PrivateAssets="all" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.4" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.4" Condition="'$(TargetFramework)' == 'net6.0'" PrivateAssets="all" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.4" Condition="'$(TargetFramework)' == 'net6.0'" />
<!-- Note: use Microsoft.EntityFrameworkCore Version 3.x.x for compatibility with net461 -->
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.12" Condition="'$(TargetFramework)' == 'net461'" PrivateAssets="all" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.12" Condition="'$(TargetFramework)' == 'net461'" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment