Bug 59038 - MMP : error MM2001: Could not link assemblies. Reason: Error processing method: 'System.Void iTextSharp.text.BaseColor::.ctor(System.Drawing.Color)' in assembly: 'itextsharp.dll'
Summary: MMP : error MM2001: Could not link assemblies. Reason: Error processing metho...
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: mmp ()
Version: 3.6.0 (d15-3)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-08-25 12:19 UTC by Jose Luis Cumplido
Modified: 2017-09-24 19:37 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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 or GitHub 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.

Related Links:

Description Jose Luis Cumplido 2017-08-25 12:19:22 UTC
Using Visual Studio for Mac Community Version 7.1 ( build 1297)
Building a new project. It works in Debug mode
Comment 1 Chris Hamons 2017-08-25 12:24:20 UTC
Unfortunately this bug right now contains none of the information needed for us to look into it.

- The title suggests a reference to itextsharp.dll but the text suggests "a new project" is sufficient.
- A small sample / copy of the project in question would be incredibly useful in tracking this down.
- A build log showing the exact error would also be necessary.
- As the error describe linking, does disabling linking in the project options -> mac build work around the issues? If not does adding --registrar:dynamic to the "Additional mmp arguments" work around it?
Comment 2 Jose Luis Cumplido 2017-08-25 20:40:10 UTC
Solved adding --registrar:dynamic to "Additional mmp arguments"

Sorry for not giving the needed information. The issue appeared when building for release in a project that uses itextsharp ( added through Nuget )
Comment 3 Alex Soto [MSFT] 2017-09-24 19:37:04 UTC
Feel free to reopen if this shows up again.