hey guys, i was using Json dll in my project from quite sometime now but recently bymistakely i deleted those dll's now when i downloaded the dll from internet and added the reference to the assembly using Add-Reference, and run my application, it开发者_运维问答 throws me this Error
Could not load file or assembly 'Newtonsoft.Json' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
i am totally got stuck here,, i dont understand why i am getting this error and how to resolve the same...
Please anyone knows how to resolve this issue please revert back soon, as this is very urgent..
Thanks and Regards Abbas Electricwala
This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
There's your answer. Your compiler or runtime is older than the one used to build the DLL. Try upgrading your environment to to a newer version and see if that helps.
Alternatively, see if you can find an older version of the dll that matches your environment.
精彩评论