Skip to content

Commit 0c0523e

Browse files
Upgrade to .NET 8 (#538)
1 parent dd65cfd commit 0c0523e

File tree

9 files changed

+13
-17
lines changed

9 files changed

+13
-17
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ stages:
3838
version: 2.x
3939

4040
- task: UseDotNet@2
41-
displayName: 'Use .NET 7'
41+
displayName: 'Use .NET 8'
4242
inputs:
43-
version: 7.x
43+
version: 8.x
4444

4545
- task: PoliCheck@2
4646
displayName: 'Run PoliCheck "/src"'

.github/workflows/ci-cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup .NET
2020
uses: actions/setup-dotnet@v4
2121
with:
22-
dotnet-version: 7.0.x
22+
dotnet-version: 8.0.x
2323

2424
- name: Data gatherer
2525
id: data_gatherer

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Setup .NET
4545
uses: actions/setup-dotnet@v4
4646
with:
47-
dotnet-version: 7.0.x
47+
dotnet-version: 8.0.x
4848

4949
# Initializes the CodeQL tools for scanning.
5050
- name: Initialize CodeQL

.github/workflows/sonarcloud.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,10 @@ jobs:
3838
with:
3939
distribution: 'adopt'
4040
java-version: 17
41-
- name: Setup .NET 5 # At the moment the scanner requires dotnet 5 https://www.nuget.org/packages/dotnet-sonarscanner
42-
uses: actions/setup-dotnet@v4
43-
with:
44-
dotnet-version: 5.0.x
4541
- name: Setup .NET
4642
uses: actions/setup-dotnet@v4
4743
with:
48-
dotnet-version: 7.0.x
44+
dotnet-version: 8.0.x
4945
- uses: actions/checkout@v4
5046
with:
5147
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"type": "coreclr",
77
"request": "launch",
88
"preLaunchTask": "build",
9-
"program": "${workspaceFolder}/tool/UpdateDocs/bin/Debug/net7.0/UpdateDocs.dll",
10-
"cwd": "${workspaceFolder}/tool/UpdateDocs/bin/Debug/net7.0",
9+
"program": "${workspaceFolder}/tool/UpdateDocs/bin/Debug/net8.0/UpdateDocs.dll",
10+
"cwd": "${workspaceFolder}/tool/UpdateDocs/bin/Debug/net8.0",
1111
"console": "internalConsole",
1212
"stopAtEntry": false
1313
},

src/OoasGui/OoasGui.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net7.0-windows</TargetFramework>
3+
<TargetFramework>net8.0-windows</TargetFramework>
44
<OutputType>WinExe</OutputType>
55
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
66
<UseWindowsForms>true</UseWindowsForms>

src/OoasUtil/OoasUtil.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>net7.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<AssemblyName>Microsoft.OpenApi.OData.Reader.Tests</AssemblyName>
55
<RootNamespace>Microsoft.OpenApi.OData.Reader.Tests</RootNamespace>
6-
<TargetFrameworks>net7.0</TargetFrameworks>
6+
<TargetFrameworks>net8.0</TargetFrameworks>
77
<LangVersion>latest</LangVersion>
88
<SignAssembly>true</SignAssembly>
99
<AssemblyOriginatorKeyFile>..\..\tool\Microsoft.OpenApi.OData.snk</AssemblyOriginatorKeyFile>

tool/UpdateDocs/UpdateDocs.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net7.0</TargetFramework>
3+
<TargetFramework>net8.0</TargetFramework>
44
<OutputType>Exe</OutputType>
55
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
66
</PropertyGroup>

0 commit comments

Comments
 (0)