-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathEntityFramework.Build.props
More file actions
41 lines (39 loc) · 2.6 KB
/
EntityFramework.Build.props
File metadata and controls
41 lines (39 loc) · 2.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<Project>
<PropertyGroup>
<!-- Set this property to true to work with the performance improved EF-Version at https://github.com/iplus-framework/efcore/tree/ef_90_iPlus
until this changes are not merged into the official repository.
This fork also enables automatic refreshing of entity objects from database
For NET 9.0 clone the branch "ef_90_iPlus" into a directory on the same level as the iPlus directory.
https://github.com/iplus-framework/efcore/tree/ef_90_iPlus
For the newest version NET 10.0 and higher clone the branch "ef_main_iPlus" into a directory on the same level as the iPlus directory.
https://github.com/iplus-framework/efcore/tree/ef_main_iPlus
Don't compile the test projects of entity framework. Only the projects in the src-driectory are needed.
-->
<UseEFCoreForkIPlus>True</UseEFCoreForkIPlus>
</PropertyGroup>
<PropertyGroup Condition="'$(UseDotNet10)' == 'False'">
<!-- Settings for entity framework main and DOT-NET 9.0 -->
<DefaultNetCoreTargetFramework>net9.0</DefaultNetCoreTargetFramework>
<UITargetFramework>net9.0-windows7.0</UITargetFramework>
<EFCoreBuildFramework>net8.0</EFCoreBuildFramework>
<!-- <EFCoreRootDir>$(MSBuildThisFileDirectory)../../../ef_90_iPlus</EFCoreRootDir> -->
<EFCoreRootDir>$(MSBuildThisFileDirectory)../../packages/ef_90_iPlus</EFCoreRootDir>
<!-- <EFCoreIncludeDir>$(EFCoreRootDir)/artifacts\bin</EFCoreIncludeDir>
<EFCoreToolsDir>$(EFCoreRootDir)/src/EFCore.Tools</EFCoreToolsDir> -->
<CompilerDefFCoreForkIPlus Condition="'$(UseEFCoreForkIPlus)' == 'True'">EFCR</CompilerDefFCoreForkIPlus>
<CompilerDefFCoreForkIPlus Condition="'$(UseEFCoreForkIPlus)' == 'False'"></CompilerDefFCoreForkIPlus>
</PropertyGroup>
<PropertyGroup Condition="'$(UseDotNet10)' == 'True'">
<!-- Settings for entity framework main and DOT-NET 10.0 and higher -->
<DefaultNetCoreTargetFramework>net10.0</DefaultNetCoreTargetFramework>
<UITargetFramework>net10.0-windows</UITargetFramework>
<NetCorePackageVersion>10.0.0</NetCorePackageVersion>
<EFCoreBuildFramework>net10.0</EFCoreBuildFramework>
<!-- <EFCoreRootDir>../../../ef_main_iPlus</EFCoreRootDir> -->
<EFCoreRootDir>$(MSBuildThisFileDirectory)../../packages/ef_main_iPlus</EFCoreRootDir>
<!-- <EFCoreIncludeDir>$(EFCoreRootDir)/artifacts/bin</EFCoreIncludeDir>
<EFCoreToolsDir>$(EFCoreRootDir)/src/EFCore.Tools</EFCoreToolsDir> -->
<CompilerDefFCoreForkIPlus Condition="'$(UseEFCoreForkIPlus)' == 'True'">EFCR;NET10</CompilerDefFCoreForkIPlus>
<CompilerDefFCoreForkIPlus Condition="'$(UseEFCoreForkIPlus)' == 'False'">NET10</CompilerDefFCoreForkIPlus>
</PropertyGroup>
</Project>