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?