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.

Investigate removing dependency on Microsoft.CSharp

See original GitHub issue

DynamicUtils.GetMember and DynamicUtils.SetMember use two methods from Microsoft.CSharp. Json.NET only needs to get and set simple properties.

https://github.com/JamesNK/Newtonsoft.Json/blob/master/Src/Newtonsoft.Json/Utilities/DynamicUtils.cs#L115-L140

It might be possible to remove dependency on Microsoft.CSharp and implement required functionality in Json.NET itself.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Ermesxcommented, Apr 26, 2017

Dependency on Microsoft.CSharp cause issues on old versions of VisualStudio like 2012 and you cannot update Newtonsoft.Json to version 10.0.x max is 9.0.x

image

0reactions
JamesNKcommented, Jul 22, 2017

Not really possible. There is too much code in the Microsoft.CSharp to internalize.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Removing dependencies - Power Platform
Dependencies sometimes can block operations. This article describes how dependencies can be removed.
Read more >
Dependency tracking in Application Insights - Azure Monitor
You can investigate specific dependency calls and correlate them to requests and exceptions. Automatically tracked dependencies. Application ...
Read more >
Troubleshooting NuGet Package Restore in Visual Studio
A description of common NuGet restore errors in Visual Studio and how to troubleshoot them.
Read more >
Resolving PowerShell Module Assembly Dependency ...
This removes an exogenous factor for dependency resolution in applications, making dependency resolution more reproducible.
Read more >
Dependency injection in ASP.NET Core
Overview of dependency injection. A dependency is an object that another object depends on. Examine the following MyDependency class with a ...
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