Skip to content

Commit 498d651

Browse files
authored
Upgrade tolling and tests to .NET 6 (#1889)
1 parent 39f7e68 commit 498d651

File tree

21 files changed

+44
-33
lines changed

21 files changed

+44
-33
lines changed

appveyor-demo.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ version: 1.0.{build}
22
branches:
33
only:
44
- master
5-
image: Visual Studio 2019
5+
image: Visual Studio 2022
66
configuration: Release
77
environment:
88
matrix:
99
- framework: net471
10-
- framework: netcoreapp3.1
10+
- framework: net6.0
1111
before_build:
1212
- ps: >-
1313
dotnet restore .\demos\PuppeteerSharpDemos-Local.sln
@@ -20,4 +20,4 @@ test_script:
2020
- cmd: >-
2121
cd .\demos\PuppeteerSharpPdfDemo
2222
23-
dotnet run -p PuppeteerSharpPdfDemo-Local.csproj -f %framework% auto-exit
23+
dotnet run -p PuppeteerSharpPdfDemo-Local.csproj -f %framework% auto-exit

appveyor-edge.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 1.0.{build}
22
branches:
33
only:
44
- disabled
5-
image: Visual Studio 2019
5+
image: Visual Studio 2022
66
configuration: Release
77
environment:
88
git_access_token:
@@ -33,6 +33,6 @@ test_script:
3333
- cmd: >-
3434
cd .\lib\PuppeteerSharp.Tests
3535
36-
dotnet test -f net5.0 -s test.runsettings
36+
dotnet test -f net6.0 -s test.runsettings
3737
cache:
38-
- $HOME/.nuget/packages
38+
- $HOME/.nuget/packages

appveyor-fullframework.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 1.0.{build}
22
branches:
33
only:
44
- master
5-
image: Visual Studio 2019
5+
image: Visual Studio 2022
66
configuration: Release
77
clone_folder: C:\projects\puppeteer-sharp
88
environment:

appveyor-linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ environment:
99
git_access_token:
1010
secure: FxcQ9C8a/NgcQB5dFdZts6ZWEDT4zMhA4qPQAYwWc7huMmhmTIl1sbFEIaAWQMTL
1111
matrix:
12-
- framework: net5.0
12+
- framework: net6.0
1313
PRODUCT: CHROMIUM
14-
- framework: net5.0
14+
- framework: net6.0
1515
PRODUCT: FIREFOX
1616

1717
before_build:

appveyor.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@ version: 1.0.{build}
22
branches:
33
only:
44
- master
5-
image: Visual Studio 2019
5+
image: Visual Studio 2022
66
configuration: Release
77
environment:
88
git_access_token:
99
secure: FxcQ9C8a/NgcQB5dFdZts6ZWEDT4zMhA4qPQAYwWc7huMmhmTIl1sbFEIaAWQMTL
1010
matrix:
1111
- framework: net48
12-
- framework: net5.0
12+
- framework: net6.0
1313
- framework: net48
1414
ENQUEUE_ASYNC_MESSAGES: true
15-
- framework: net5.0
15+
- framework: net6.0
1616
ENQUEUE_ASYNC_MESSAGES: true
1717
install:
1818
- ps: >-
19-
if($env:APPVEYOR_REPO_TAG -eq 'True' -And $env:framework -eq 'netcoreapp2.0') {
19+
if($env:APPVEYOR_REPO_TAG -eq 'True' -And $env:framework -eq 'net6.0') {
2020
choco install docfx
2121
}
2222
before_build:

appveyor/GenerateDocs.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if($env:APPVEYOR_REPO_TAG -eq 'True' -And $env:framework -eq 'netcoreapp2.2' -And $env:ENQUEUE_ASYNC_MESSAGES -eq 'true') {
1+
if($env:APPVEYOR_REPO_TAG -eq 'True' -And $env:framework -eq 'net6.0' -And $env:ENQUEUE_ASYNC_MESSAGES -eq 'true') {
22
git config --global credential.helper store
33
Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:git_access_token):[email protected]`n"
44

@@ -13,4 +13,4 @@ if($env:APPVEYOR_REPO_TAG -eq 'True' -And $env:framework -eq 'netcoreapp2.2' -An
1313
git add docs/* -f
1414
git commit -m "Docs version $($env:APPVEYOR_REPO_TAG_NAME)"
1515
git subtree push --prefix docs pages gh-pages
16-
}
16+
}

demos/PuppeteerSharpPdfDemo/PuppeteerSharpPdfDemo-Local.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>netcoreapp3.1;net471</TargetFrameworks>
5+
<TargetFrameworks>net6.0;net471</TargetFrameworks>
66
<LangVersion>8.0</LangVersion>
77
</PropertyGroup>
88
<PropertyGroup Condition="'$(TargetFramework)'=='net471'">

demos/PuppeteerSharpPdfDemo/PuppeteerSharpPdfDemo.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net6.0</TargetFramework>
66
</PropertyGroup>
77
<ItemGroup>
88
<PackageReference Include="PuppeteerSharp" Version="3.0.0" />

lib/PuppeteerSharp.DevicesFetcher/PuppeteerSharp.DevicesFetcher.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net5.0</TargetFramework>
5+
<TargetFramework>net6.0</TargetFramework>
66
</PropertyGroup>
77
<ItemGroup>
88
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />

lib/PuppeteerSharp.TestServer/PuppeteerSharp.TestServer.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-
<TargetFrameworks>netstandard2.0</TargetFrameworks>
3+
<TargetFrameworks>net48;net6.0</TargetFrameworks>
44
<OutputType>Library</OutputType>
55
</PropertyGroup>
66
<ItemGroup>

0 commit comments

Comments
 (0)