-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathEntityFramework.Build.props
More file actions
29 lines (28 loc) · 1.78 KB
/
Copy pathEntityFramework.Build.props
File metadata and controls
29 lines (28 loc) · 1.78 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
<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>
<!-- Settings for entity framework main and DOT-NET 10.0 and higher -->
<DefaultNetCoreTargetFramework>net10.0</DefaultNetCoreTargetFramework>
<UITargetFramework>net10.0-windows</UITargetFramework>
<EnableEFDesignTime>False</EnableEFDesignTime>
<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>