when trying run application on xamarin on visual studio, getting error mentioned below , not able run application on device or emulator:
the "xamlctask" task failed unexpectedly. microsoft.cci.pdb.pdbdebugexception: unknown custom metadata item kind: 6 @ microsoft.cci.pdb.pdbfunction.readcustommetadata(bitaccess bits) @ microsoft.cci.pdb.pdbfunction..ctor(manprocsym proc, bitaccess bits) @ microsoft.cci.pdb.pdbfunction.loadmanagedfunctions(bitaccess bits, uint32 limit, boolean readstrings) @ microsoft.cci.pdb.pdbfile.loadfuncsfromdbimodule(bitaccess bits, dbimoduleinfo info, inthashtable names, arraylist funclist, boolean readstrings, msfdirectory dir, dictionary`2 nameindex, pdbreader reader) @ microsoft.cci.pdb.pdbfile.loadfunctions(stream read, dictionary`2& tokentosourcemapping, string& sourceserverdata) @ mono.cecil.pdb.pdbreader.populatefunctions() @ mono.cecil.pdb.pdbreader.processdebugheader(imagedebugdirectory directory, byte[] header) @ mono.cecil.moduledefinition.processdebugheader() @ mono.cecil.moduledefinition.readsymbols(isymbolreader reader) @ mono.cecil.modulereader.readsymbols(moduledefinition module, readerparameters parameters) @ mono.cecil.modulereader.createmodulefrom(image image, readerparameters parameters) @ mono.cecil.moduledefinition.readmodule(stream stream, readerparameters parameters) @ mono.cecil.moduledefinition.readmodule(string filename, readerparameters parameters) @ xamarin.forms.build.tasks.xamlctask.compile() @ xamarin.forms.build.tasks.xamlctask.execute() @ microsoft.build.backend.taskexecutionhost.microsoft.build.backend.itaskexecutionhost.execute() @ microsoft.build.backend.taskbuilder.<executeinstantiatedtask>d__1.movenext() myfirstproject
before adding "xamarin.forms.maps" nuget package, application working have added application stops running , getting error.
anybody me causes type of issue?
this issue arise, if xamarin.form version not compatible/matching nuget package have installed.
so, have updated xamarin.forms both xx.droid , pcl , make match dependencies nuget package.
now working fine. hope work you.
Comments
Post a Comment