Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with NetFramework 4.7.1 and Newtonsoft.Json 11.0.1 #28

Closed
memosk1000 opened this issue May 16, 2018 · 2 comments
Closed

Not working with NetFramework 4.7.1 and Newtonsoft.Json 11.0.1 #28

memosk1000 opened this issue May 16, 2018 · 2 comments

Comments

@memosk1000
Copy link

ILspy assembly load log:
// Detected Target-Framework-Id: .NETFramework,Version=v4.6.1

// Referenced assemblies (in metadata order):
// mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// Assembly reference loading information:
// Info: Success - Found in Assembly List

// Serilog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10
// Assembly reference loading information:
// Info: Success - Found in Assembly List

// Serilog.Sinks.Graylog.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=48b89c9554032038 (unresolved)
// Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
// Assembly reference loading information:
// There were some problems during assembly reference load, see below for more information!
// Error: Could not find reference: Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed

@whir1
Copy link
Contributor

whir1 commented May 18, 2018

I created a simple console application under 4.7.1, but it works. Could you send me a more detailed example for playback?

ConsoleApp1.zip

@memosk1000
Copy link
Author

I couldn't reproduce the error in a simple project . Also this ILspy is not reproducing the error . It's basically custom loading into software domain (custom ShadowCopy and LoaderOptimization.MultiDomain ) We solved this with lowering the version to Newtonsoft.Json 10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants