Forum Xamarin Xamarin.Forms

Error Failed to resolve "System.Reflection.Emit.AssemblyBuilder

RakeshSainiRakeshSaini INMember ✭✭
edited July 2017 in Xamarin.Forms

Hi , anyone know about this error -

Error Failed to resolve "System.Reflection.Emit.AssemblyBuilder System.AppDomain::DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess, System.String,System.Security.Policy.Evidence,System.Security.PermissionSet, System.Security.PermissionSet,System.Security.PermissionSet,System.Boolean)" reference from "mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"

Best Answer

  • RakeshSainiRakeshSaini INMember ✭✭
    Accepted Answer

    Hi , I got solution ,
    i was trying to get Device Id by UIKit.UIDevice.CurrentDevice.IdentifierForVendor.AsString(); .But i was using Simulator , so on Simulator its not Possible to get Device ID , that's why that build Error creating !!
    After Removing this line , working fine !

    its Solved my issue !!
    Thanks !!

Answers

Sign In or Register to comment.