diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 4d56952..359784c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -17,7 +17,7 @@ jobs:
id: gitversion
- uses: actions/setup-dotnet@v5
with:
- dotnet-version: '9.0.x'
+ dotnet-version: '10.0.2xx'
# Build
- name: Build (pre-release)
diff --git a/doc/build.ps1 b/doc/build.ps1
index 1c1f746..2c689a0 100644
--- a/doc/build.ps1
+++ b/doc/build.ps1
@@ -2,7 +2,7 @@
pushd $PSScriptRoot
function Run-DotNet {
- ..\0install.ps1 run --batch --version 9.0.200.. https://apps.0install.net/dotnet/sdk.xml @args
+ ..\0install.ps1 run --batch --version 10.. https://apps.0install.net/dotnet/sdk.xml @args
if ($LASTEXITCODE -ne 0) {throw "Exit Code: $LASTEXITCODE"}
}
diff --git a/doc/build.sh b/doc/build.sh
index 2ceb81e..0d3408f 100755
--- a/doc/build.sh
+++ b/doc/build.sh
@@ -6,7 +6,7 @@ cd `dirname $0`
if command -v dotnet > /dev/null 2> /dev/null; then
dotnet="dotnet"
else
- dotnet="../0install.sh run --version 9.0.200.. https://apps.0install.net/dotnet/sdk.xml"
+ dotnet="../0install.sh run --version 10.. https://apps.0install.net/dotnet/sdk.xml"
fi
echo "Build docs"
diff --git a/doc/docfx.json b/doc/docfx.json
index 86ad732..78cf10a 100644
--- a/doc/docfx.json
+++ b/doc/docfx.json
@@ -8,6 +8,9 @@
"exclude": ["UnitTests/*"]
}
],
+ "properties": {
+ "TargetFramework": "net10.0"
+ },
"dest": "api",
"filter": "filterConfig.yml"
}
diff --git a/docker/.env b/docker/.env
index 025c979..c9ab4d6 100644
--- a/docker/.env
+++ b/docker/.env
@@ -1,3 +1,4 @@
-#DOTNET_VERSION=8.0.20
-DOTNET_VERSION=9.0.9
-WEASYPRINT_VERSION=66.0
+#DOTNET_VERSION=8.0.22
+#DOTNET_VERSION=9.0.11
+DOTNET_VERSION=10.0.1
+WEASYPRINT_VERSION=67.0
diff --git a/src/Razor2Pdf/Razor2Pdf.csproj b/src/Razor2Pdf/Razor2Pdf.csproj
index 9f70788..364fb41 100644
--- a/src/Razor2Pdf/Razor2Pdf.csproj
+++ b/src/Razor2Pdf/Razor2Pdf.csproj
@@ -5,7 +5,7 @@
NanoByte.Razor2Pdf
NanoByte.Razor2Pdf
13.0
- net8.0;net9.0
+ net8.0;net9.0;net10.0
True
True
$(NoWarn);1591
@@ -38,7 +38,7 @@
-
+
diff --git a/src/Sample/Sample.csproj b/src/Sample/Sample.csproj
index e9a62ad..849b9ee 100644
--- a/src/Sample/Sample.csproj
+++ b/src/Sample/Sample.csproj
@@ -1,7 +1,7 @@
- net9.0
+ net10.0
enable
enable
False
diff --git a/src/build.ps1 b/src/build.ps1
index 46ad357..5b08db3 100644
--- a/src/build.ps1
+++ b/src/build.ps1
@@ -3,7 +3,7 @@ $ErrorActionPreference = "Stop"
pushd $PSScriptRoot
function Run-DotNet {
- ..\0install.ps1 run --batch --version 9.0.200.. https://apps.0install.net/dotnet/sdk.xml @args
+ ..\0install.ps1 run --batch --version 10.. https://apps.0install.net/dotnet/sdk.xml @args
if ($LASTEXITCODE -ne 0) {throw "Exit Code: $LASTEXITCODE"}
}
diff --git a/src/build.sh b/src/build.sh
index 34864f2..dee1f59 100755
--- a/src/build.sh
+++ b/src/build.sh
@@ -6,7 +6,7 @@ cd `dirname $0`
if command -v dotnet > /dev/null 2> /dev/null; then
dotnet="dotnet"
else
- dotnet="../0install.sh run --version 9.0.200.. https://apps.0install.net/dotnet/sdk.xml"
+ dotnet="../0install.sh run --version 10.. https://apps.0install.net/dotnet/sdk.xml"
fi
# Build