locked
error when I want to use the WCF webservice on xamarin.android RRS feed

  • Question

  • User372336 posted

    Hola, estoy intentando levantar un webservice WCF que cree pero cuando lo intento levantar me figura el siguiente error y ya nose que cambiarle, que podra ser?

    Gravedad Código Descripción Proyecto Archivo Línea Estado suprimido Error

    ``` Exception while loading assemblies: System.IO.FileNotFoundException:

    Could not load assembly 'SMDiagnostics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Perhaps it doesn't exist in the Mono for Android profile? Nombre de archivo: 'SMDiagnostics.dll' en Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters) en Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(DirectoryAssemblyResolver resolver, ICollection1 assemblies, AssemblyDefinition assembly, Boolean topLevel) en Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(DirectoryAssemblyResolver resolver, ICollection1 assemblies, AssemblyDefinition assembly, Boolean topLevel) en Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(DirectoryAssemblyResolver resolver, ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel) en Xamarin.Android.Tasks.ResolveAssemblies.Execute(DirectoryAssemblyResolver resolver) DigitalClaimT.Android
    ```

    and that's how I call the webservice:

    Service1 os = new Service1(); List<Usuario> lst = os.ValidateLogin(txtNombre.Text, txtContra.Text); if (lst.Count>0) { this.Navigation.PushModalAsync(new menudc()); }

    but if I comment the following code above the app is perfect

    I hope you can help me, thanks

    Monday, August 20, 2018 8:12 PM

All replies