Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 76418

How to resolve assembly System.Runtime.InteropServices (Windows Phone)

$
0
0

Hi all,

I've been developing on a project for some time now, but for some reason I get the following error now:

Cannot resolve dependency to assembly 'System.Runtime.InteropServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.

The error occurs in the app.xaml and mainpage.xaml of my project. I tried to add the assembly reference from C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\Facades , but this always results in an other error message saying the assembly can't be resolved. I'm not sure if this is the right place to find the assembly and if I even need to add the reference.. See screenshot for more details..

Any idea on how to solve this?


Viewing all articles
Browse latest Browse all 76418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>