Skip to content

Commit 1778a24

Browse files
committed
Exclude net10.0 target framework from MySQL EF Core project due to Pomelo compatibility constraints.
1 parent ddf6642 commit 1778a24

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3+
<!-- Pomelo targets EF Core up to 9.x, so exclude MySQL provider for net10.0. -->
34
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
45
<Description>
56
Provides MySQL EF Core migrations for various modules.
67
</Description>
78
<PackageTags>elsa extension module persistence efcore mysql</PackageTags>
89
</PropertyGroup>
9-
10-
<!-- Pomelo 9.x targets EF Core 9.x, so exclude MySQL provider packages for net10.0. -->
11-
<ItemGroup Condition="'$(TargetFramework)' != 'net10.0'">
12-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" PrivateAssets="all" />
13-
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" />
10+
11+
<ItemGroup>
12+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" PrivateAssets="all"/>
13+
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql"/>
1414
</ItemGroup>
1515

1616
<ItemGroup>
17-
<ProjectReference Include="..\Elsa.Persistence.EFCore\Elsa.Persistence.EFCore.csproj" />
17+
<ProjectReference Include="..\Elsa.Persistence.EFCore\Elsa.Persistence.EFCore.csproj"/>
1818
</ItemGroup>
1919

2020
</Project>

0 commit comments

Comments
 (0)