mirror of
https://github.com/zoriya/EntityFrameworkCore.Projectables.git
synced 2026-05-24 03:35:38 +00:00
Added support for EF Core 6
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
|
||||
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
||||
<NoWarn>CS1591</NoWarn>
|
||||
<Configurations>Debug;Release;DebugV1</Configurations>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
@@ -19,4 +20,30 @@
|
||||
<Description>Project over properties and functions in your linq queries</Description>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'DebugV1' Or '$(Configuration)' == 'ReleaseV1' ">
|
||||
<EFProjectablesVersion>1</EFProjectablesVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(EFProjectablesVersion)' == '' ">
|
||||
<EFProjectablesVersion>2</EFProjectablesVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" $(EFProjectablesVersion) == 1 ">
|
||||
<DefineConstants>EFPROJECTABLES1</DefineConstants>
|
||||
<TargetFrameworkVersion>netstandard2.0</TargetFrameworkVersion>
|
||||
<MicrosoftExtensionsVersion>3.1.0</MicrosoftExtensionsVersion>
|
||||
<EFCoreVersion>3.1.0</EFCoreVersion>
|
||||
<!-- We're testing against EF Core 5 as its compatible with 3.1.0 and contains additional features -->
|
||||
<TestEFCoreVersion>5.0</TestEFCoreVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" $(EFProjectablesVersion) == 2 ">
|
||||
<DefineConstants>EFPROJECTABLES2</DefineConstants>
|
||||
<TargetFrameworkVersion>net6.0</TargetFrameworkVersion>
|
||||
<MicrosoftExtensionsVersion>6.0.0-rc.1.21451.13</MicrosoftExtensionsVersion>
|
||||
<EFCoreVersion>6.0.0-rc.1.21452.10</EFCoreVersion>
|
||||
<TestEFCoreVersion>$(EFCoreVersion)</TestEFCoreVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user