Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Coscine
backend
libraries
Database
Commits
97b54264
Commit
97b54264
authored
Apr 13, 2022
by
Petar Hristov
💬
Browse files
Fix: EF compatibility with net6.0
parent
d90d4e24
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Database/Database.csproj
View file @
97b54264
...
...
@@ -9,7 +9,7 @@
<PropertyGroup>
<Authors>RWTH Aachen University</Authors>
<Company>IT Center, RWTH Aachen University</Company>
<Copyright>202
1
IT Center, RWTH Aachen University</Copyright>
<Copyright>202
2
IT Center, RWTH Aachen University</Copyright>
<Description>Database is a part of the Coscine group.</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://git.rwth-aachen.de/coscine/backend/libraries/database</PackageProjectUrl>
...
...
@@ -32,9 +32,12 @@
<PackageReference Include="Coscine.Configuration" Version="2.*-*" />
<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" 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" PrivateAssets="all" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.12" />
<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'"
/>
</ItemGroup>
<PropertyGroup>
<LangVersion>Preview</LangVersion>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment