Skip to content

Commit ba805b4

Browse files
authored
feat: Upgrade to .NET 8 (#164)
1 parent 8a098d5 commit ba805b4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup .NET Core
1515
uses: actions/setup-dotnet@v3
1616
with:
17-
dotnet-version: '6.0.x'
17+
dotnet-version: '8.0.x'
1818
dotnet-quality: 'preview'
1919
- name: Install dependencies
2020
run: dotnet restore

GraphQLNetExample/GraphQLNetExample.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
</PropertyGroup>
@@ -12,12 +12,12 @@
1212
<PackageReference Include="GraphQL.Server.Transports.AspNetCore" Version="7.6.0" />
1313
<PackageReference Include="GraphQL.Server.Ui.Altair" Version="7.6.0" />
1414
<PackageReference Include="GraphQL.SystemTextJson" Version="7.6.1" />
15-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.13">
15+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.0">
1616
<PrivateAssets>all</PrivateAssets>
1717
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1818
</PackageReference>
19-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.13" />
20-
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.13">
19+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0" />
20+
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.0">
2121
<PrivateAssets>all</PrivateAssets>
2222
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2323
</PackageReference>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# GraphQL .NET Example
22

3-
GraphQL example implementation in .NET 6.
3+
GraphQL example implementation in .NET 8.
44

55
## Notice
66

0 commit comments

Comments
 (0)