Bug 11396 - mdtool crashes when building .sln file
Summary: mdtool crashes when building .sln file
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 4.0.3
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Mikayla Hutchinson [MSFT]
Depends on:
Reported: 2013-03-25 16:07 UTC by chadder06
Modified: 2013-04-02 22:09 UTC (History)
1 user (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 chadder06 2013-03-25 16:07:41 UTC
This occurs on Windows 7 x64.

Attempting to build a solution file using mdtool from the command line does not work. The following error is written to the console:

mdtool build -t:Clean -c:Release {solution file}

ERROR [2013-03-25 14:53:36Z]: Did not find registered GTK# installation
MonoDevelop Build Tool
Could not load file or assembly 'MonoDevelop.Projects.Formats.MSBuild, Version=, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.

This solution will open and build normally in the GUI application. This is very important for our build server to function properly.
Comment 1 Mikayla Hutchinson [MSFT] 2013-04-02 22:09:19 UTC
Fixed, the sln-> project configuration mapping was wrong and mdtool was not being built with x86 architecture.