Bug 51778 - XamlC needs Portable .pdb support
Summary: XamlC needs Portable .pdb support
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms (show other bugs)
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: 15.2
Assignee: Bugzilla
: 52692 (view as bug list)
Depends on:
Reported: 2017-01-26 08:16 UTC by David Karlaš
Modified: 2017-05-09 12:22 UTC (History)
7 users (show)

See Also:
Tags: 2017-02
Is this bug a regression?: ---
Last known good build:


Description David Karlaš 2017-01-26 08:16:52 UTC
Mono Cycle 10, will be producing .pdb instead of .mdb, hence using mono master with Xamarin.Forms project results in build failure since XamlC tries to load .mdb file which doesn't exist.

There are probably 2 ways to solve this.
a) Use latest Cecil with https://github.com/mono/cecil/commit/898fb6b8cb03319937448d93bdf6eaa3dd2c6008
b) Use latest Cecil with some logic in XamlC to decide which SymbolReader/Writer to set to PortablePdb or Mdb
Comment 2 Samantha Houts [MSFT] 2017-02-13 19:04:35 UTC
Should be fixed in 2.3.5-pre1. Thank you!
Comment 3 Lluis Sanchez 2017-02-23 10:43:41 UTC
Is this package already published? We need a fixed nuget ASAP because the XS build now depends on it.
Comment 4 Lluis Sanchez 2017-02-24 15:35:44 UTC
*** Bug 52692 has been marked as a duplicate of this bug. ***
Comment 5 Peter Collins 2017-04-05 22:00:26 UTC
We also have a fair amount of tests we'll need to update to bring in this fix, is there a 2.3.5 pre-release version available anywhere?
Comment 6 David Karlaš 2017-04-06 06:53:00 UTC
Afaik, this was later also backported to 2.3.4.
Comment 7 Stephane Delcroix 2017-04-06 12:09:06 UTC
this is back ported to 2.3.4. 2.3.4 has cecil 0.10.0-beta4. if you want to test with -beta5 you can grab any recent nightly build on myget
Comment 8 Roshan Mankani 2017-05-09 12:01:21 UTC
Hello @David Karlaš,
Can you please provide proper steps or description with expected condition, for verifying this bug.
Comment 9 David Karlaš 2017-05-09 12:22:07 UTC
I verify this is fixed, steps to reproduce would be... Create Xamarin.Forms project with 2.3.3 package and try to build on Alpha channel, if it fails, upgrade to NuGet 2.3.4 and it should build.

Notice (2018-05-21): bugzilla.xamarin.com will be switching to read-only mode on Thursday, 2018-05-25 22:00 UTC.

Please join us on Visual Studio Developer Community and GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs and copy them to the new locations as needed for follow-up. The See Also field on each Bugzilla bug will be updated with a link to its new location when applicable.

After Bugzilla is read-only, if you have new information to add for a bug that does not yet have a matching issue on Developer Community or GitHub, you can create a follow-up issue in the new location. Copy and paste the title and description from this bug, and then add your new details. You can get a pre-formatted version of the title and description here:

In special cases you might also want the comments:

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.

Note You need to log in before you can comment on or make changes to this bug.