Conversation
3 tasks
…y in .NET 11 Agent-Logs-Url: https://github.com/dotnet/docs/sessions/339e02d8-bbe0-4dec-99bf-af7f8430dd0b Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove Newtonsoft.Json dependency from dotnet test
Breaking change doc: VSTest/Microsoft.NET.Test.SDK removes Newtonsoft.Json dependency (.NET 11)
May 4, 2026
gewarren
approved these changes
May 4, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a new .NET 11 breaking change article for the VSTest/Microsoft.NET.Test.SDK removal of the transitive Newtonsoft.Json dependency, and wires that article into the .NET 11 compatibility index and TOC.
Changes:
- Add a new SDK breaking change article under
docs/core/compatibility/sdk/11/. - Add the new article to the .NET 11 breaking changes index.
- Add the new article to the compatibility TOC under SDK and MSBuild.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
docs/core/compatibility/toc.yml |
Adds the new .NET 11 SDK breaking change page to the compatibility navigation. |
docs/core/compatibility/sdk/11/vstest-removes-newtonsoft-json.md |
Documents the breaking change, affected scenarios, mitigations, and removed APIs. |
docs/core/compatibility/11.md |
Adds the breaking change to the .NET 11 overview table. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
nohwnd
approved these changes
May 5, 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.
In .NET 11 Preview 4, the VSTest platform and
Microsoft.NET.Test.SDKdroppedNewtonsoft.Jsonin favor ofSystem.Text.Json(.NET) and JSONite (.NET Framework). Test projects that relied on the transitive dependency—without an explicitPackageReference—now break at compile time or runtime.Changes
docs/core/compatibility/sdk/11/vstest-removes-newtonsoft-json.mdFileNotFoundException, and test extension load failures<PackageReference Include="Newtonsoft.Json" />to the affected projectMicrosoft.VisualStudio.TestPlatform.CommunicationUtilities(theNewtonsoft.Json.Linq.JToken-based surface)docs/core/compatibility/11.md— new row under SDK and MSBuild (Binary/source incompatible)docs/core/compatibility/toc.yml— new TOC entry under .NET 11 → SDK and MSBuildInternal previews