Downgrade Newtonsoft.Json to version 13.0.3#6155
Closed
akoeplinger wants to merge 1 commit intomainfrom
Closed
Conversation
This seems to be causing issues in arcade because msbuild redistributes 13.0.3 and 13.0.4 introduced a new API that will get bound and then cause: ``` System.MissingMethodException->Microsoft.Build.Framework.BuildException.GenericBuildTransferredException: Method not found: 'System.String Newtonsoft.Json.Linq.JToken.ToString(Newtonsoft.Json.Formatting)'. D:\a\_work\1\s\.packages\microsoft.dotnet.arcade.sdk\11.0.0-beta.26180.3\tools\VisualStudio.VsixBuild.targets(155,5): error MSB4018: The "Microsoft.DotNet.Build.Tasks.VisualStudio.FinalizeInsertionVsixFile" task failed unexpectedly. ```
Contributor
There was a problem hiding this comment.
Pull request overview
Downgrades Newtonsoft.Json to avoid an MSBuild/VSIX task runtime binding failure caused by MSBuild redistributing Newtonsoft.Json 13.0.3 while the repo was referencing 13.0.4.
Changes:
- Downgrade
Newtonsoft.Jsonfrom13.0.4to13.0.3via Central Package Management (Directory.Packages.props).
akoeplinger
added a commit
to dotnet/arcade
that referenced
this pull request
Mar 31, 2026
Alternative fix to dotnet/arcade-services#6155 which forces the old overload that exists in Newtonsoft.Json 13.0.3
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.
This seems to be causing issues in arcade because msbuild redistributes 13.0.3 and 13.0.4 introduced a new API that will get bound and then cause:
Let's downgrade it for now. See FR thread.