Skip to content

Commit a19b58a

Browse files
authored
Dot netv9 (#223)
* Supporting .NET v9. * dotnet-version: 9.x
1 parent 05a0068 commit a19b58a

File tree

15 files changed

+63
-63
lines changed

15 files changed

+63
-63
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup .NET Core
2020
uses: actions/setup-dotnet@v1
2121
with:
22-
dotnet-version: 8.x
22+
dotnet-version: 9.x
2323

2424
- name: Set Variables
2525
run: |

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup .NET Core
1818
uses: actions/setup-dotnet@v1
1919
with:
20-
dotnet-version: 8.x
20+
dotnet-version: 9.x
2121

2222
- name: Set Variables
2323
run: |

AutoMapper.AspNetCore.OData.EF6/AutoMapper.AspNetCore.OData.EF6.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
55
<RootNamespace>AutoMapper.AspNet.OData</RootNamespace>
66
<PackageId>AutoMapper.AspNetCore.OData.EF6</PackageId>
77
<Description>Creates LINQ expressions from ODataQueryOptions and executes the query.</Description>
@@ -57,16 +57,16 @@
5757

5858
<ItemGroup>
5959
<PackageReference Include="AutoMapper.Extensions.ExpressionMapping" Version="[6.0.4,7.0.0)" />
60-
<PackageReference Include="EntityFramework" Version="6.4.4" />
61-
<PackageReference Include="LogicBuilder.Expressions.Utils" Version="[6.0.3,7.0.0)" />
62-
<PackageReference Include="Microsoft.AspNetCore.OData" Version="8.2.4" />
63-
<PackageReference Include="MinVer" Version="4.3.0">
60+
<PackageReference Include="EntityFramework" Version="6.5.1" />
61+
<PackageReference Include="LogicBuilder.Expressions.Utils" Version="7.0.0" />
62+
<PackageReference Include="Microsoft.AspNetCore.OData" Version="9.1.1" />
63+
<PackageReference Include="MinVer" Version="6.0.0">
6464
<PrivateAssets>all</PrivateAssets>
6565
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
6666
</PackageReference>
6767
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
68-
<PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
69-
<PackageReference Include="System.Drawing.Common" Version="4.7.2" />
68+
<PackageReference Include="System.Data.SqlClient" Version="4.9.0" />
69+
<PackageReference Include="System.Drawing.Common" Version="9.0.0" />
7070
</ItemGroup>
7171

7272
<ItemGroup>

AutoMapper.AspNetCore.OData.EFCore/AutoMapper.AspNetCore.OData.EFCore.csproj

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
55
<RootNamespace>AutoMapper.AspNet.OData</RootNamespace>
66
<PackageId>AutoMapper.AspNetCore.OData.EFCore</PackageId>
77
<Description>Creates LINQ expressions from ODataQueryOptions and executes the query.</Description>
@@ -29,25 +29,21 @@
2929

3030
<ItemGroup>
3131
<PackageReference Include="AutoMapper.Extensions.ExpressionMapping" Version="[7.0.2,8.0.0)" />
32-
<PackageReference Include="LogicBuilder.Expressions.Utils" Version="[6.0.3,7.0.0)" />
33-
<PackageReference Include="Microsoft.AspNetCore.OData" Version="8.2.4" />
34-
<PackageReference Include="MinVer" Version="4.3.0">
32+
<PackageReference Include="LogicBuilder.Expressions.Utils" Version="7.0.0" />
33+
<PackageReference Include="Microsoft.AspNetCore.OData" Version="9.1.1" />
34+
<PackageReference Include="MinVer" Version="6.0.0">
3535
<PrivateAssets>all</PrivateAssets>
3636
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3737
</PackageReference>
3838
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
3939
</ItemGroup>
4040

41-
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
42-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.0" />
43-
</ItemGroup>
44-
45-
<ItemGroup Condition=" '$(TargetFramework)' == 'net7.0' ">
46-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.0" />
41+
<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
42+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.11" />
4743
</ItemGroup>
4844

49-
<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
50-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.2" />
45+
<ItemGroup Condition=" '$(TargetFramework)' == 'net9.0' ">
46+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.0" />
5147
</ItemGroup>
5248

5349
<ItemGroup>

AutoMapper.OData.EF6.Tests/AutoMapper.OData.EF6.Tests.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
11-
<PackageReference Include="xunit" Version="2.7.0" />
12-
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
10+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
11+
<PackageReference Include="xunit" Version="2.9.2" />
12+
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
1313
<PrivateAssets>all</PrivateAssets>
1414
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1515
</PackageReference>
16-
<PackageReference Include="coverlet.collector" Version="6.0.0">
16+
<PackageReference Include="coverlet.collector" Version="6.0.2">
1717
<PrivateAssets>all</PrivateAssets>
1818
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1919
</PackageReference>

AutoMapper.OData.EFCore.Tests/AutoMapper.OData.EFCore.Tests.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.2" />
11-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
12-
<PackageReference Include="xunit" Version="2.7.0" />
13-
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
10+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" />
11+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
12+
<PackageReference Include="xunit" Version="2.9.2" />
13+
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
1414
<PrivateAssets>all</PrivateAssets>
1515
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1616
</PackageReference>

DAL.EF6/DAL.EF6.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="EntityFramework" Version="6.4.4" />
9-
<PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
8+
<PackageReference Include="EntityFramework" Version="6.5.1" />
9+
<PackageReference Include="System.Data.SqlClient" Version="4.9.0" />
1010
</ItemGroup>
1111

1212
</Project>

DAL.EFCore/DAL.EFCore.csproj

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
55
</PropertyGroup>
66

77
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
@@ -13,7 +13,11 @@
1313
</ItemGroup>
1414

1515
<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
16-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.2" />
16+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.11" />
17+
</ItemGroup>
18+
19+
<ItemGroup Condition=" '$(TargetFramework)' == 'net9.0' ">
20+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.0" />
1721
</ItemGroup>
1822

1923
</Project>

ExpressionBuilder.Tests/ExpressionBuilder.Tests.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
11-
<PackageReference Include="xunit" Version="2.7.0" />
12-
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
10+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
11+
<PackageReference Include="xunit" Version="2.9.2" />
12+
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
1313
<PrivateAssets>all</PrivateAssets>
1414
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1515
</PackageReference>

MigrationTool/MigrationTool.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net9.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.2">
9+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.0">
1010
<PrivateAssets>all</PrivateAssets>
1111
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1212
</PackageReference>
13-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.2" />
14-
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="6.35.0" />
15-
<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="6.35.0" />
13+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" />
14+
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="8.2.1" />
15+
<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="8.2.1" />
1616
</ItemGroup>
1717

1818
<ItemGroup>

0 commit comments

Comments
 (0)