Skip to content

Commit fae6f49

Browse files
committed
Updated .NET SDK
1 parent 1f85862 commit fae6f49

8 files changed

Lines changed: 11 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
versionSpec: '5.12.x'
1616
- uses: gittools/actions/gitversion/execute@v3.2.1
1717
id: gitversion
18+
- uses: actions/setup-dotnet@v4
19+
with:
20+
dotnet-version: '9.0.x'
1821

1922
# Build
2023
- name: Build (pre-release)

doc/build.ps1

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

44
function Run-DotNet {
5-
..\0install.ps1 run --batch --version 8.0.. https://apps.0install.net/dotnet/sdk.xml @args
5+
..\0install.ps1 run --batch --version 9.0.200.. https://apps.0install.net/dotnet/sdk.xml @args
66
if ($LASTEXITCODE -ne 0) {throw "Exit Code: $LASTEXITCODE"}
77
}
88

doc/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cd `dirname $0`
66
if command -v dotnet > /dev/null 2> /dev/null; then
77
dotnet="dotnet"
88
else
9-
dotnet="../0install.sh run --version 8.0.. https://apps.0install.net/dotnet/sdk.xml"
9+
dotnet="../0install.sh run --version 9.0.200.. https://apps.0install.net/dotnet/sdk.xml"
1010
fi
1111

1212
# Build docs

src/UnitTests/UnitTests.csproj

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

33
<!-- Project properties -->
44
<PropertyGroup>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net9.0</TargetFramework>
66
<AssemblyName>TypedRest.Codegeneration.UnitTests</AssemblyName>
77
<RootNamespace>TypedRest.CodeGeneration</RootNamespace>
88
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>

src/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ $ErrorActionPreference = "Stop"
33
pushd $PSScriptRoot
44

55
function Run-DotNet {
6-
..\0install.ps1 run --batch --version 8.0.. https://apps.0install.net/dotnet/sdk.xml @args
6+
..\0install.ps1 run --batch --version 9.0.200.. https://apps.0install.net/dotnet/sdk.xml @args
77
if ($LASTEXITCODE -ne 0) {throw "Exit Code: $LASTEXITCODE"}
88
}
99

src/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cd `dirname $0`
66
if command -v dotnet > /dev/null 2> /dev/null; then
77
dotnet="dotnet"
88
else
9-
dotnet="../0install.sh run --version 8.0.. https://apps.0install.net/dotnet/sdk.xml"
9+
dotnet="../0install.sh run --version 9.0.200.. https://apps.0install.net/dotnet/sdk.xml"
1010
fi
1111

1212
# Build

src/test.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ $ErrorActionPreference = "Stop"
22
pushd $PSScriptRoot
33

44
function Run-DotNet {
5-
..\0install.ps1 run --batch --version 8.0..!8.1 https://apps.0install.net/dotnet/sdk.xml @args
5+
..\0install.ps1 run --batch --version 9.0.200..!9.1 https://apps.0install.net/dotnet/sdk.xml @args
66
if ($LASTEXITCODE -ne 0) {throw "Exit Code: $LASTEXITCODE"}
77
}
88

src/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ cd `dirname $0`
66
if command -v dotnet > /dev/null 2> /dev/null; then
77
dotnet="dotnet"
88
else
9-
dotnet="../0install.sh run --version 8.0..!8.1 https://apps.0install.net/dotnet/sdk.xml"
9+
dotnet="../0install.sh run --version 9.0.200..!9.1 https://apps.0install.net/dotnet/sdk.xml"
1010
fi
1111

12-
# Unit tests (without .NET Framework)
12+
# Unit tests
1313
$dotnet test --no-build --logger trx --configuration Release UnitTests/UnitTests.csproj

0 commit comments

Comments
 (0)