Skip to content

Commit 7976f6f

Browse files
committed
Update to .NET 8 and C# 12
1 parent d3df7b0 commit 7976f6f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Starnet.Tests/Starnet.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<RootNamespace>LBPUnion.Starnet.Tests</RootNamespace>
55
<AssemblyName>LBPUnion.Starnet.Tests</AssemblyName>
66

7-
<TargetFramework>net7.0</TargetFramework>
7+
<TargetFramework>net8.0</TargetFramework>
88
<ImplicitUsings>enable</ImplicitUsings>
99
<Nullable>enable</Nullable>
1010

Starnet/LighthouseClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public LighthouseClient([Optional] string? authenticationToken, string host = "h
3838
// Set the authentication key of the HTTP Client, if provided.
3939
if (authenticationToken == null) return;
4040

41-
this.httpClient.DefaultRequestHeaders.Authorization = authenticationToken.StartsWith("$")
41+
this.httpClient.DefaultRequestHeaders.Authorization = authenticationToken.StartsWith('$')
4242
? new AuthenticationHeaderValue(authenticationToken)
4343
: throw new ApiKeyException("The format of the API key is invalid.");
4444
}

Starnet/Starnet.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</PropertyGroup>
1919

2020
<PropertyGroup>
21-
<TargetFramework>net7.0</TargetFramework>
21+
<TargetFramework>net8.0</TargetFramework>
2222
<ImplicitUsings>enable</ImplicitUsings>
2323
<Nullable>enable</Nullable>
2424
<IsPackable>true</IsPackable>

0 commit comments

Comments
 (0)