Skip to content

Commit f9de9a2

Browse files
committed
Include EF8 conditional defines.
1 parent a9cc24a commit f9de9a2

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

src/MongoDB.EntityFrameworkCore/MongoDB.EntityFrameworkCore.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
</PropertyGroup>
1717

1818
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
19+
<DefineConstants>EF8</DefineConstants>
20+
</PropertyGroup>
21+
22+
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
23+
<DefineConstants>EF8</DefineConstants>
1924
<DocumentationFile>bin\Debug\MongoDB.EntityFrameworkCore.xml</DocumentationFile>
2025
</PropertyGroup>
2126

tests/MongoDB.EntityFrameworkCore.FunctionalTests/MongoDB.EntityFrameworkCore.FunctionalTests.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
<Configurations>Debug;Release;Debug EF9;Release EF9</Configurations>
44
<Platforms>AnyCPU</Platforms>
55
</PropertyGroup>
6+
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
7+
<DefineConstants>EF8</DefineConstants>
8+
</PropertyGroup>
9+
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
10+
<DefineConstants>EF8</DefineConstants>
11+
</PropertyGroup>
612
<PropertyGroup Condition=" '$(Configuration)' == 'Debug EF9' ">
713
<DefineConstants>TRACE;DEBUG;EF9</DefineConstants>
814
</PropertyGroup>

tests/MongoDB.EntityFrameworkCore.SpecificationTests/MongoDB.EntityFrameworkCore.SpecificationTests.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
<Configurations>Debug;Release;Debug EF9;Release EF9</Configurations>
55
<Platforms>AnyCPU</Platforms>
66
</PropertyGroup>
7+
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
8+
<DefineConstants>EF8</DefineConstants>
9+
</PropertyGroup>
10+
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
11+
<DefineConstants>EF8</DefineConstants>
12+
</PropertyGroup>
713
<PropertyGroup Condition=" '$(Configuration)' == 'Debug EF9' ">
814
<DefineConstants>TRACE;DEBUG;EF9</DefineConstants>
915
</PropertyGroup>

0 commit comments

Comments
 (0)