Skip to content

Binding Redirects for newtonsoft #1922

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

Closed
kapopken opened this issue Feb 2, 2017 · 8 comments
Closed

Binding Redirects for newtonsoft #1922

kapopken opened this issue Feb 2, 2017 · 8 comments

Comments

@kapopken
Copy link

kapopken commented Feb 2, 2017

I am having an issue running my .net core project due to binding redirects. If I look at my config file in the bin directory here is what is generated
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.1" /> <bindingRedirect oldVersion="9.0.0.0" newVersion="8.0.0.0" /> <bindingRedirect oldVersion="6.0.0.0" newVersion="8.0.0.0" />
I only show version 9.0.1 installed.

Here are the steps I have tried to resolved.
Deleted all my bin folders
Deleted all my obj folders
Deleted my .vs folder
Deleted all project.json files
Reinstalled newtonsoft.

Please help :)

@Tratcher
Copy link
Member

Tratcher commented Feb 2, 2017

A) What's the error you get?
B) Share a project with the issue.

@kapopken
Copy link
Author

kapopken commented Feb 2, 2017

Here is the error I am receiving
An exception of type 'System.IO.FileLoadException' occurred in Microsoft.Extensions.Configuration.FileExtensions.dll and wasn't handled before a managed/native boundary

Additional information: Could not load file or assembly 'Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

@kapopken
Copy link
Author

kapopken commented Feb 2, 2017

For more information the project is a .net core with the full 461 framework. It references other projects which are all also .net core libraries with the full 461 framework

@kapopken
Copy link
Author

kapopken commented Feb 2, 2017

image
image

@kapopken
Copy link
Author

kapopken commented Feb 3, 2017

So i figured out removing this library "gmaps-api-net": "0.13.30", fixed the issue. Unfortunately, the amount of work troubleshooting this when a simple binding redirect should have worked highlights some serious issues with the tooling.

@aspnet-hello
Copy link

This issue is being closed because it has not been updated in 3 months.

We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.

@davidalpert
Copy link

davidalpert commented Dec 30, 2017 via email

@davidalpert
Copy link

davidalpert commented Dec 30, 2017 via email

natemcmaster pushed a commit that referenced this issue Nov 14, 2018
* UvPipeHandle.Open(IntPtr) and underlying interop
* LibuvConstants.ENOTSUP
* IEndpointInformation.HandleType along with ListenOptions extra ctor and handle type re-specification
* Exception-based auto-detection of socket type in Listener, accept socket creation support for detected handle types in ListenerContext
* Added systemd Unix socket activation tests
@ghost ghost locked as resolved and limited conversation to collaborators Dec 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants