Error after installing Json.Net and links to it in the project. Windows Phone 8

I am trying to read data from a json file in WP8 and after installing nuget it displays the following error:

mistake:

Cannot resolve link assemblies. Check control assemblies. The assembly dependency "System.Runtime.InteropServices, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a" cannot be resolved because it was not preloaded. When using the ReflectionOnly API, dependent assemblies must be preloaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.

Can someone tell me a solution for this?

+4
source share
1 answer

Add System.Runtime.InteropServicesto your projects;

in the global build cache; the Add Links dialog box displays it under the .NET tab.

If this does not solve the problem, following the directions here , you must remove the recursion that occurred.

0
source

All Articles