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

Advice on strong naming #664

Closed
amirtuval opened this issue Sep 24, 2015 · 1 comment
Closed

Advice on strong naming #664

amirtuval opened this issue Sep 24, 2015 · 1 comment

Comments

@amirtuval
Copy link

Hi,

I recently contacted you with this issue.

As a result of this issue, I forked the repo, and compiled a version of json.net with my fix.
Since I do not have the signing key, I signed the assembly with a different key.

I now run into problems, because my project uses ASP.NET, which references json.net and expects the old key. I get compilation problems (not runtime errors) -

The type 'Newtonsoft.Json.JsonSerializerSettings' is defined in an assembly that is not referenced. You must add a reference to assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'.

Note that I did change my web.config to reflect the new key in the assemblyBinding section, however this affects runtime only, and not compilation issues.

I was wondering if this is something you encountered before and have a solution for it, because I did not find anything.

Thanks
Amir

@JamesNK
Copy link
Owner

JamesNK commented Oct 12, 2015

There is no easy solution. SN is dumb but that's the world we live in.

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