diff --git a/.github/workflows/PushNugetPackageToIntNugetOrg.yml b/.github/workflows/PushNugetPackageToIntNugetOrg.yml index bbe5ec866..07f521bf1 100644 --- a/.github/workflows/PushNugetPackageToIntNugetOrg.yml +++ b/.github/workflows/PushNugetPackageToIntNugetOrg.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: env: - DOTNET_VERSION: '8.0.x' # The .NET SDK version to use + DOTNET_VERSION: '10.0.x' # The .NET SDK version to use jobs: PushToIntNugetOrg: @@ -14,7 +14,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 7.0.x + dotnet-version: 10.0.x - name: Install dependencies run: | dotnet restore lib/PuppeteerSharp.sln diff --git a/.github/workflows/PushNugetPackageToNugetOrg.yml b/.github/workflows/PushNugetPackageToNugetOrg.yml index d326f725f..c1d7e3e37 100644 --- a/.github/workflows/PushNugetPackageToNugetOrg.yml +++ b/.github/workflows/PushNugetPackageToNugetOrg.yml @@ -7,7 +7,7 @@ on: - v* env: - DOTNET_VERSION: '8.0.x' # The .NET SDK version to use + DOTNET_VERSION: '10.0.x' # The .NET SDK version to use jobs: PushToNugetOrg: @@ -17,7 +17,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 8.0.x + dotnet-version: 10.0.x - name: Install dependencies run: | dotnet restore lib/PuppeteerSharp.sln diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index 3c2da8131..681ce3d5c 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -21,7 +21,7 @@ jobs: os: [windows-2022, macos-latest] browser: [chrome, firefox] env: - DOTNET_VERSION: '8.0.x' # The .NET SDK version to use + DOTNET_VERSION: '10.0.x' # The .NET SDK version to use steps: - uses: actions/checkout@v2 @@ -38,12 +38,12 @@ jobs: - name: Run on .NET working-directory: ./demos/PuppeteerSharpPdfDemo run: | - dotnet run --project PuppeteerSharpPdfDemo-Local.csproj auto-exit ${{ matrix.browser }} -f net8.0 + dotnet run --project PuppeteerSharpPdfDemo-Local.csproj auto-exit ${{ matrix.browser }} -f net10.0 - name: Run with AOT if: matrix.os == 'windows-2022' working-directory: ./demos/PuppeteerSharpPdfDemo run: | - dotnet publish PuppeteerSharpPdfDemo-Local.csproj -r win-x64 -o build -f net8.0 + dotnet publish PuppeteerSharpPdfDemo-Local.csproj -r win-x64 -o build -f net10.0 build/PuppeteerSharpPdfDemo-Local.exe auto-exit ${{ matrix.browser }} - name: Run on .NET Framework if: matrix.os == 'windows-2022' diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 78280e466..54b15a554 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -16,7 +16,7 @@ on: - '**.runsettings' env: - DOTNET_VERSION: '8.0.x' # The .NET SDK version to use + DOTNET_VERSION: '10.0.x' # The .NET SDK version to use jobs: build: diff --git a/.github/workflows/on-push-do-docs.yml b/.github/workflows/on-push-do-docs.yml index 26843e88f..0811bc572 100644 --- a/.github/workflows/on-push-do-docs.yml +++ b/.github/workflows/on-push-do-docs.yml @@ -9,7 +9,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 8.0.x + dotnet-version: 10.0.x - name: Run MarkdownSnippets run: | dotnet tool install --global MarkdownSnippets.Tool diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 7c804c209..bec09d5d8 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -17,7 +17,7 @@ jobs: name: Publish docs runs-on: windows-latest env: - DOTNET_VERSION: '8.0.x' # The .NET SDK version to use + DOTNET_VERSION: '10.0.x' # The .NET SDK version to use steps: - uses: actions/checkout@v4 diff --git a/demos/PuppeteerSharpPdfDemo/PuppeteerSharpPdfDemo-Local.csproj b/demos/PuppeteerSharpPdfDemo/PuppeteerSharpPdfDemo-Local.csproj index e35f8115a..716efd611 100644 --- a/demos/PuppeteerSharpPdfDemo/PuppeteerSharpPdfDemo-Local.csproj +++ b/demos/PuppeteerSharpPdfDemo/PuppeteerSharpPdfDemo-Local.csproj @@ -1,11 +1,14 @@ Exe - net8.0;net481 - 12 + net10.0;net481 + 14 - + true + + true + $(NoWarn);IL3000;IL3050;IL3053 diff --git a/demos/PuppeteerSharpPdfDemo/PuppeteerSharpPdfDemo.csproj b/demos/PuppeteerSharpPdfDemo/PuppeteerSharpPdfDemo.csproj index 05f72d842..9aac20a64 100644 --- a/demos/PuppeteerSharpPdfDemo/PuppeteerSharpPdfDemo.csproj +++ b/demos/PuppeteerSharpPdfDemo/PuppeteerSharpPdfDemo.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net10.0 default diff --git a/lib/PuppeteerSharp.DevicesFetcher/PuppeteerSharp.DevicesFetcher.csproj b/lib/PuppeteerSharp.DevicesFetcher/PuppeteerSharp.DevicesFetcher.csproj index 83247b553..0464a075b 100644 --- a/lib/PuppeteerSharp.DevicesFetcher/PuppeteerSharp.DevicesFetcher.csproj +++ b/lib/PuppeteerSharp.DevicesFetcher/PuppeteerSharp.DevicesFetcher.csproj @@ -2,8 +2,8 @@ Exe - net8.0 - 12 + net10.0 + 14 diff --git a/lib/PuppeteerSharp.Nunit/PuppeteerSharp.Nunit.csproj b/lib/PuppeteerSharp.Nunit/PuppeteerSharp.Nunit.csproj index 9a2301b29..199b3e535 100644 --- a/lib/PuppeteerSharp.Nunit/PuppeteerSharp.Nunit.csproj +++ b/lib/PuppeteerSharp.Nunit/PuppeteerSharp.Nunit.csproj @@ -1,8 +1,8 @@ - net8.0 - 12 + net10.0 + 14 diff --git a/lib/PuppeteerSharp.TestServer/PuppeteerSharp.TestServer.csproj b/lib/PuppeteerSharp.TestServer/PuppeteerSharp.TestServer.csproj index a61dac2dd..bde5b7b20 100644 --- a/lib/PuppeteerSharp.TestServer/PuppeteerSharp.TestServer.csproj +++ b/lib/PuppeteerSharp.TestServer/PuppeteerSharp.TestServer.csproj @@ -1,8 +1,9 @@ - net8.0 + net10.0 Library - 12 + 14 + $(NoWarn);ASPDEPR004;ASPDEPR008 diff --git a/lib/PuppeteerSharp.Tests.DumpIO/PuppeteerSharp.Tests.DumpIO.csproj b/lib/PuppeteerSharp.Tests.DumpIO/PuppeteerSharp.Tests.DumpIO.csproj index 6d86a63ac..d687a60dc 100644 --- a/lib/PuppeteerSharp.Tests.DumpIO/PuppeteerSharp.Tests.DumpIO.csproj +++ b/lib/PuppeteerSharp.Tests.DumpIO/PuppeteerSharp.Tests.DumpIO.csproj @@ -1,8 +1,8 @@ Exe - net8.0 - 12 + net10.0 + 14 diff --git a/lib/PuppeteerSharp.Tests.SingleFileDeployment/PuppeteerSharp.Tests.SingleFileDeployment.csproj b/lib/PuppeteerSharp.Tests.SingleFileDeployment/PuppeteerSharp.Tests.SingleFileDeployment.csproj index c957ecb60..722435528 100644 --- a/lib/PuppeteerSharp.Tests.SingleFileDeployment/PuppeteerSharp.Tests.SingleFileDeployment.csproj +++ b/lib/PuppeteerSharp.Tests.SingleFileDeployment/PuppeteerSharp.Tests.SingleFileDeployment.csproj @@ -2,10 +2,10 @@ Exe - net8.0 + net10.0 enable enable - 12 + 14 diff --git a/lib/PuppeteerSharp.Tests/FixturesTests/FixturesTests.cs b/lib/PuppeteerSharp.Tests/FixturesTests/FixturesTests.cs index b09ba799f..8154044be 100644 --- a/lib/PuppeteerSharp.Tests/FixturesTests/FixturesTests.cs +++ b/lib/PuppeteerSharp.Tests/FixturesTests/FixturesTests.cs @@ -133,7 +133,7 @@ private string GetSubprocessWorkingDir(string dir) dir, "bin", build, - "net8.0"); + "net10.0"); #else return Path.Combine( TestUtils.FindParentDirectory("lib"), diff --git a/lib/PuppeteerSharp.Tests/PuppeteerSharp.Tests.csproj b/lib/PuppeteerSharp.Tests/PuppeteerSharp.Tests.csproj index 5c7974a66..21778471e 100644 --- a/lib/PuppeteerSharp.Tests/PuppeteerSharp.Tests.csproj +++ b/lib/PuppeteerSharp.Tests/PuppeteerSharp.Tests.csproj @@ -1,13 +1,12 @@ - net8.0 + net10.0 true - 12 + 14 - @@ -17,9 +16,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - - diff --git a/lib/PuppeteerSharp.Tooling/PuppeteerSharp.Tooling.csproj b/lib/PuppeteerSharp.Tooling/PuppeteerSharp.Tooling.csproj index fe03566bb..16ee4bf91 100644 --- a/lib/PuppeteerSharp.Tooling/PuppeteerSharp.Tooling.csproj +++ b/lib/PuppeteerSharp.Tooling/PuppeteerSharp.Tooling.csproj @@ -2,10 +2,10 @@ Exe - net8.0 + net10.0 true true - 12 + 14 diff --git a/lib/PuppeteerSharp/PuppeteerSharp.csproj b/lib/PuppeteerSharp/PuppeteerSharp.csproj index 3ebdaa4ab..5a13639c9 100644 --- a/lib/PuppeteerSharp/PuppeteerSharp.csproj +++ b/lib/PuppeteerSharp/PuppeteerSharp.csproj @@ -1,7 +1,7 @@ - netstandard2.0;net8.0 + netstandard2.0;net10.0 Darío Kondratiuk Darío Kondratiuk https://github.com/hardkoded/puppeteer-sharp @@ -24,8 +24,8 @@ true true true - 12 - 8.0-Recommended + 14 + 10.0-Recommended $(NoWarn);NU5104 README.md @@ -44,8 +44,8 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - - + + diff --git a/samples/complex-js-objects/complex-js-objects.csproj b/samples/complex-js-objects/complex-js-objects.csproj index 9b6206c76..5fbd14785 100644 --- a/samples/complex-js-objects/complex-js-objects.csproj +++ b/samples/complex-js-objects/complex-js-objects.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net10.0 complex_js_objects diff --git a/samples/get-all-links/get-all-links.csproj b/samples/get-all-links/get-all-links.csproj index 39a2fd4b9..dc66f3dec 100644 --- a/samples/get-all-links/get-all-links.csproj +++ b/samples/get-all-links/get-all-links.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net10.0 Example diff --git a/samples/reuse-downloaded-chrome/reuse-downloaded-chrome.csproj b/samples/reuse-downloaded-chrome/reuse-downloaded-chrome.csproj index 0b87994ff..7997fb9ae 100644 --- a/samples/reuse-downloaded-chrome/reuse-downloaded-chrome.csproj +++ b/samples/reuse-downloaded-chrome/reuse-downloaded-chrome.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net10.0 Exaxmple diff --git a/samples/searching/searching.csproj b/samples/searching/searching.csproj index 981f75341..39dbf795e 100644 --- a/samples/searching/searching.csproj +++ b/samples/searching/searching.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net10.0