Skip to content

Instantly share code, notes, and snippets.

@saurabh360
Created September 22, 2014 09:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saurabh360/3ac23afa876eb7aa90b9 to your computer and use it in GitHub Desktop.
Save saurabh360/3ac23afa876eb7aa90b9 to your computer and use it in GitHub Desktop.
Error 2 The "ConvertPdbToMdbTask" task failed unexpectedly.
System.ArgumentException: Decimal byte array constructor requires an array of length four containing valid decimal bytes.
at System.Decimal.SetBits(Int32[] bits)
at Microsoft.Cci.Pdb.BitAccess.ReadDecimal()
at Microsoft.Cci.Pdb.PdbConstant..ctor(BitAccess bits)
at Microsoft.Cci.Pdb.PdbScope..ctor(BlockSym32 block, BitAccess bits, UInt32& typind)
at Microsoft.Cci.Pdb.PdbFunction..ctor(String module, ManProcSym proc, BitAccess bits)
at Microsoft.Cci.Pdb.PdbFunction.LoadManagedFunctions(String module, BitAccess bits, UInt32 limit, Boolean readStrings)
at Microsoft.Cci.Pdb.PdbFile.LoadFuncsFromDbiModule(BitAccess bits, DbiModuleInfo info, IntHashTable names, ArrayList funcList, Boolean readStrings, MsfDirectory dir, Dictionary`2 nameIndex, PdbReader reader)
at Microsoft.Cci.Pdb.PdbFile.LoadFunctions(Stream read, BitAccess bits, Boolean readAllStrings)
at Pdb2Mdb.Converter.Convert(String filename)
at Xamarin.iOS.Tasks.ConvertPdbToMdbTask.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext() C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.After.targets 101 3 App12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment