Skip to content

Commit

Permalink
dep: Update to .NET 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
HMBSbige committed Nov 14, 2023
1 parent 2bf4281 commit 84439b5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI
on: [push, pull_request, workflow_dispatch]
env:
ProjectName: ${{ github.event.repository.name }}
NET_TFM: net6.0-windows10.0.22621.0
NET_TFM: net8.0-windows10.0.22621.0
Configuration: Release

jobs:
Expand All @@ -12,7 +12,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: Run tests
working-directory: UnitTest
Expand All @@ -52,7 +52,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: Build
shell: pwsh
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: Build
working-directory: ${{ matrix.PackageName }}
Expand Down
2 changes: 1 addition & 1 deletion NatTypeTester/NatTypeTester.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Import Project="..\common.props" />

<PropertyGroup>
<TargetFramework>net6.0-windows10.0.22621.0</TargetFramework>
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
<OutputType>WinExe</OutputType>
<UseWPF>true</UseWPF>
<Version>7.0.0</Version>
Expand Down
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dotnet --info

$proj = 'NatTypeTester'
$exe = "$proj.exe"
$net_tfm = 'net6.0-windows10.0.22621.0'
$net_tfm = 'net8.0-windows10.0.22621.0'
$configuration = 'Release'
$output_dir = "$PSScriptRoot\$proj\bin\$configuration"
$proj_path = "$PSScriptRoot\$proj\$proj.csproj"
Expand Down
2 changes: 1 addition & 1 deletion common.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
Expand Down

0 comments on commit 84439b5

Please sign in to comment.