VS 2017 Error: ConvertPdbToMdb task failed unexpectedly. PortablePdbNotSupportedException

DanielVaughanDanielVaughan CHMember ✭✭

Hi,

I'm referencing a VS 2017 .NET Standard 1.4 project from a Xamarin.iOS project. I'm receiving the following error:

Error The "ConvertPdbToMdb" task failed unexpectedly.
Pdb2Mdb.PortablePdbNotSupportedException: Portable PDB 'My.pdb' can't be converted to mdb. Consider setting the project 'DebugType' property to 'Full'.
at Pdb2Mdb.Converter.Convert(String filename) in C:\d\lanes\4368\73f58d6d\source\xamarinvs\src\MSBuild\Xamarin.iOS.Tasks\Pdb2mdb\Driver.cs:line 43
at Xamarin.iOS.Tasks.ConvertPdbToMdb.Execute() in C:\d\lanes\4368\73f58d6d\source\xamarinvs\src\MSBuild\Xamarin.iOS.Tasks\Tasks\ConvertPdbToMdb.cs:line 26
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() Codon.Ios

There's a similar issue reported here:
https://forums.xamarin.com/discussion/89921/the-convertpdbtomdb-task-failed-unexpectedly?

Any assistance would be greatly appreciated.

Regards,
Daniel

Best Answer

Answers

Sign In or Register to comment.