Skip to content

Commit 016fd95

Browse files
committed
Upgrade to .NET 10
1 parent def2878 commit 016fd95

6 files changed

Lines changed: 19 additions & 19 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Setup .NET Core
1313
uses: actions/setup-dotnet@v4
1414
with:
15-
dotnet-version: 9.0.x
15+
dotnet-version: 10.0.x
1616
- name: Build PdfRpt.Core lib
1717
run: dotnet build ./src/PdfRpt.Core/PdfRpt.Core.csproj --configuration Release
1818

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747

4848
# Initializes the CodeQL tools for scanning.
4949
- name: Initialize CodeQL
50-
uses: github/codeql-action/init@v3
50+
uses: github/codeql-action/init@v4
5151
with:
5252
languages: ${{ matrix.language }}
5353
config-file: ./.github/workflows/codeql/codeql-config.yml
@@ -66,7 +66,7 @@ jobs:
6666
- name: Setup .NET
6767
uses: actions/setup-dotnet@v4
6868
with:
69-
dotnet-version: 9.0.x
69+
dotnet-version: 10.0.x
7070
- name: Build
7171
run: dotnet build --configuration Release
7272

@@ -81,6 +81,6 @@ jobs:
8181
# ./location_of_script_within_repo/buildscript.sh
8282

8383
- name: Perform CodeQL Analysis
84-
uses: github/codeql-action/analyze@v3
84+
uses: github/codeql-action/analyze@v4
8585
with:
8686
category: "/language:${{matrix.language}}"

PdfRpt.Core.SampleWebApp/PdfRpt.Core.SampleWebApp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22
<PropertyGroup>
3-
<TargetFramework>net7.0</TargetFramework>
3+
<TargetFramework>net10.0</TargetFramework>
44
<NoWarn>RCS1090</NoWarn>
55
</PropertyGroup>
66
<ItemGroup>

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "9.0.301",
3+
"version": "10.0.100",
44
"rollForward": "latestMajor",
55
"allowPrerelease": false
66
}

src/PdfRpt.Core.FunctionalTests/PdfRpt.Core.FunctionalTests.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net9.0</TargetFramework>
3+
<TargetFramework>net10.0</TargetFramework>
44
<AssemblyName>PdfRpt.Core.FunctionalTests</AssemblyName>
55
<PackageId>PdfRpt.Core.FunctionalTests</PackageId>
66
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
@@ -12,13 +12,13 @@
1212
<ProjectReference Include="..\PdfRpt.Core\PdfRpt.Core.csproj" />
1313
</ItemGroup>
1414
<ItemGroup>
15-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
16-
<PackageReference Include="MSTest.TestAdapter" Version="3.6.4" />
17-
<PackageReference Include="MSTest.TestFramework" Version="3.6.4" />
18-
<PackageReference Include="Microsoft.Data.Sqlite" Version="9.0.0" />
15+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
16+
<PackageReference Include="MSTest.TestAdapter" Version="4.0.2" />
17+
<PackageReference Include="MSTest.TestFramework" Version="4.0.2" />
18+
<PackageReference Include="Microsoft.Data.Sqlite" Version="10.0.0" />
1919
<PackageReference Include="OxyPlot.Core" Version="2.0.0" />
2020
<PackageReference Include="EPPlus" Version="[4.5.3.3, 5)" />
21-
<PackageReference Include="System.Drawing.Common" Version="9.0.0" />
21+
<PackageReference Include="System.Drawing.Common" Version="10.0.0" />
2222
</ItemGroup>
2323
<ItemGroup>
2424
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />

src/PdfRpt.Core/PdfRpt.Core.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
<PropertyGroup>
33
<Description>PdfReport.Core is a code first reporting engine, which is built on top of the iTextSharp.LGPLv2.Core and EPPlus.Core libraries.</Description>
4-
<VersionPrefix>1.5.16</VersionPrefix>
4+
<VersionPrefix>1.5.17</VersionPrefix>
55
<Authors>Vahid Nasiri</Authors>
66
<TargetFrameworks>net462;netstandard2.0</TargetFrameworks>
77
<GenerateDocumentationFile>true</GenerateDocumentationFile>
@@ -31,18 +31,18 @@
3131
</ItemGroup>
3232
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
3333
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
34-
<PackageReference Include="Microsoft.Data.SqlClient" Version="6.0.2" />
34+
<PackageReference Include="Microsoft.Data.SqlClient" Version="6.1.3" />
3535
<PackageReference Include="System.Xml.XPath.XDocument" Version="4.3.0" />
36-
<PackageReference Include="BouncyCastle.Cryptography" Version="2.6.1" />
37-
<PackageReference Include="iTextSharp.LGPLv2.Core" Version="3.7.4" />
36+
<PackageReference Include="BouncyCastle.Cryptography" Version="2.6.2" />
37+
<PackageReference Include="iTextSharp.LGPLv2.Core" Version="3.7.9" />
3838
<PackageReference Include="EPPlus" Version="[4.5.3.3, 5)" />
3939
</ItemGroup>
4040
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' ">
4141
<Reference Include="System.ComponentModel.DataAnnotations" />
42-
<PackageReference Include="BouncyCastle.Cryptography" Version="2.6.1" />
43-
<PackageReference Include="iTextSharp.LGPLv2.Core" Version="3.7.4" />
42+
<PackageReference Include="BouncyCastle.Cryptography" Version="2.6.2" />
43+
<PackageReference Include="iTextSharp.LGPLv2.Core" Version="3.7.9" />
4444
<PackageReference Include="EPPlus" Version="[4.5.3.3, 5)" />
45-
<PackageReference Include="Microsoft.Data.SqlClient" Version="6.0.2" />
45+
<PackageReference Include="Microsoft.Data.SqlClient" Version="6.1.3" />
4646
</ItemGroup>
4747
<PropertyGroup Condition="'$(TargetFramework)' == 'net462'">
4848
<DefineConstants>NET40</DefineConstants>

0 commit comments

Comments
 (0)