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

WCF - Could not load assembly System.ServiceModel.Duplex

$
0
0

Hey,

I'm trying to write an application with a WCFClient in a PCL, but whenever I try to run the application on an Android device I get the following error.

Error 4 Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'System.ServiceModel.Duplex, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'System.ServiceModel.Duplex.dll'
at Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(ICollection1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(ICollection1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(ICollection1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
at Xamarin.Android.Tasks.ResolveAssemblies.Execute() MobileApplications.Android

Anyone here know how to fix this?

I have searched on the internet to possible sulotions to fix this problem, but with no luck.


Viewing all articles
Browse latest Browse all 58056

Trending Articles