question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why is the newtonsoft.json.dll modified?

See original GitHub issue

Prerequisites

  • Verify that this is not a Windows issue;
  • Refer to the System requirements;
  • I do not use a homebrew Windows image;
  • I did not tweak Windows before that could cause system instability;
  • Attach a created log. You may find it in the Logs folder.

Steps To Reproduce

Hi, I had a look at the dlls and in particular newtonsoft.json.dll which comes packed with the app and am finding its hash doesnt match the one that is supposedly have been downloaded from the official JamesNK/Newtonsoft.Json repo during the build process (https://github.com/Sophia-Community/SophiApp/blob/f0e2c942e2c95b9a7ea1d3c44e12fd928ad9533c/SophiApp/Scripts/Get-BinaryFiles.ps1#L84-L87)

image

Can you explain why the dll is modified?

Also why isn’t this dll at least be downloaded via NuGet?

Expected behavior

N/A

Actual behaviour

N/A

Windows Version

Win 10

SophiApp version

Current

SophiApp release type

SophiApp

Logs

N/A

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
farag2commented, Sep 6, 2022

I will ask my colleague tomorrow, how it could happen when we download one dll but get another after compilation. I’m really puzzled.

0reactions
farag2commented, Sep 11, 2022

Fixed with #131

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio keeps overwriting NewtonSoft.Json.DLL with ...
This is a known bug in Windows Azure VS Tools. Workarounds: Remove Newtonsoft.Json.dll file from Program Files\Microsoft SDKs\Windows Azure.
Read more >
Conflict between Asset's Newtonsoft and ...
Json.dll plugin and i get an error that says: "PrecompiledAssemblyException: Multiple precompiled assemblies with the same name Newtonsoft.Json.
Read more >
Migrate from Newtonsoft.Json to System.Text.Json - .NET
If you rely on these Newtonsoft.Json features, migration will require modifications to your .NET object models or other code changes.
Read more >
Problems with Newtonsoft.Json.Rhino - McNeel Forum
We built a vendorized version of the DLL as we were getting version mismatch conflicts due to the fact that so many people...
Read more >
Newtonsoft.JSon.dll: How to update from 12.0.0 to 13.0. ...
Hi Plastic SCM team, I'm using Unity 2020.3.22f which include Plastic SCM components and its dependencies like Newtonsoft.Json, unfortunatly ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found