Bug 4429 - mdtool crashes building MonoMac solution when AnyCPU is passed to -c:
Summary: mdtool crashes building MonoMac solution when AnyCPU is passed to -c:
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.8.8.4
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2012-04-13 15:43 UTC by Chris Hamons
Modified: 2012-04-24 18:01 UTC (History)
2 users (show)

Tags:
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:
Status:
RESOLVED FIXED

Description Chris Hamons 2012-04-13 15:43:25 UTC
I am unable to build even a simple MonoMac project via mdtool if I specify AnyCPU. 

/Applications/MonoDevelop.app/Contents/MacOS/mdtool build "Scratch.sln" -t:Build -c:"Debug|AnyCPU"

Steps to reproduce:

1) Open monodevelop
2) New empty MonoMac project
3) Save, quit
4) Run mdtool as noted above, crash with "Object reference not set to an instance of an object"
5) Run mdtool with -c:"Debug|AnyCPU" remove, no crash.

This doesn't seem to happen on non MonoMac projects.
Comment 1 Jeffrey Stedfast 2012-04-24 17:36:43 UTC
use -c:"Debug|x86" for now
Comment 2 Jeffrey Stedfast 2012-04-24 18:01:53 UTC
fixed in git master