Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Bug with [assembly: AssemblyVersion("184.108.40.206")] - 'Error setting value to ...' #647
I see awesome bug with deserialization in latest version, i.e. for v7.x :
For v6.0.8 is all ok !
incredible, but ok, a quick test to check it... go on 7.0.1 (20cc266) and make next changes:
[assembly: AssemblyVersion("220.127.116.11")] -> [assembly: AssemblyVersion("18.104.22.168")]
build and... are all ok o_O
Forgot a some changes that should be for new major releases ?
How to reproduce:
This problem reproduced only in VS Add-in wrapper (we still support X program for our users on VS2013), and are all ok for work with other our components.
Should be next problem:
with stack trace:
Change Newtonsoft.Json to old v6.0.8. Then repeat steps above and., now you can see normal state:
please fix it, or tell me more about problem. Why is simple changes in your lib
Entry point for debugging of your lib: https://github.com/3F/BugsReview/blob/master/Newtonsoft.Json/CoreLibrary/CoreLibrary/Sample.cs#L42
What is it ?
from where ? for what ?
I also had this on my develop machine, and similar on others pc where appeared this bug from other users...
amazing coincidence (btw, first thought was about GAC and similar... however, you see)
well, now it works:
A main difference between ClientA & ClientB in my example above - only in domain:
The Visual Studio resolves this first and ClientB can't change this behaviour, because the Newtonsoft.Json assembly is already resolved before. In general, this special case for devenv (i.e. Add-In).
On my pc I found only Newtonsoft.Json.dll & System.Net.Http.Formatting.dll in current folder:
For this case I already updated documentation
But you can not control that. Even if your project not use GAC but some other application can install Newtonsoft.Json.dll to GAC and you can not control that
You really need to properly change assembly version with every release