Upgrade to .NET 8 and update all dependencies#15
Merged
craigjbass merged 2 commits intotrunkfrom Mar 18, 2026
Merged
Conversation
…ctions Co-authored-by: craigjbass <1889973+craigjbass@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update project to the latest dependencies and standards
Upgrade to .NET 8 and update all dependencies
Mar 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Project was pinned to .NET 5 (EOL) with several stale dependencies, including a high severity vulnerability in RestSharp (CVE/GHSA-9pq7-rcxv-47vq — regex injection).
Dependency updates
net5.0net8.0LangVersion8latestRestSharpFluentAssertionsnunitNUnit3TestAdapterMicrosoft.NET.Test.SdkNewtonsoft.JsonRestSharp v107+ breaking changes in tests
IRestResponse→RestResponseMethod.GET/POST→Method.Get/PostRestRequest.Timeout(int ms) toRestClientOptions.Timeout(TimeSpan)Content-Typeheader now lives inRestResponse.ContentHeaders— header lookups updated to check bothHeadersandContentHeadersAddJsonBody(string)no longer JSON-encodes the string; replaced withAddStringBody(JsonConvert.SerializeObject(value), ContentType.Json)HttpStatusCodeno longer implicitly comparable tointin FluentAssertions 8.x — explicit casts addedGitHub Actions
actions/checkout@v1→actions/checkout@v4actions/setup-dotnet@v1→actions/setup-dotnet@v4dotnet-version: 5.0.201→8.0.x(all three workflows)Original prompt
💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.