Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
I'm referencing a VS 2017 (4.6.01586) .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 '***.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.TaskBuilder.d__26.MoveNext() Codon.Ios
The project compiles, but the errors sit there in the Visual Studio Error List.
*** Bug 53476 has been marked as a duplicate of this bug. ***
I've the exact same Problem (using VS2017 Pro Final; using Xamarin.Forms 180 || 193)
Steps to reproduce:
- Create new Xamarin.Forms Project
- Create a new .Net Standard library (.Net Standard 1.0 - 1.6)
- reference library within the iOS Project
=> Compile Fails with: Error The "ConvertPdbToMdb" task failed unexpectedly.
I made some more Tests and found a Workaround!:
1. Open Project properties of the .Net Standard library.
2. On the "Build" Tab, scroll down and press "Advanced"
3. Set "Debugging Information" to "full"
Solution will compile and run!
Yes, PPDB support is not there yet. We're targeting VS2017 15.2 for this work, which should be quite soon!
BTW, the workaround of specifying full for the debug symbols is indeed the supported one.
This has been merged into the release branch for 15.2 and is on track for shipping soon.