[MonoDevelop] Building/Running MD From Source on Windows

Scott Stephens stephens.js at gmail.com
Wed Mar 6 15:00:03 UTC 2013


Thanks for the idea; unfortunately I've already installed Gtk# 2.12.20.
 Just in case, I downloaded it again and repaired my installation, but this
caused no change in the symptoms of my problem.

On Tue, Mar 5, 2013 at 6:09 PM, Alan <alan.mcgovern at gmail.com> wrote:

> You need to install Gtk# 2.12.20+ for the microsoft .NET framework.
> It's a prerequisite for installing monodevelop from the msi, but we
> don't have a runtime check to ensure you have a recent enough build.
> We could/should add one to prevent people from running MonoDevelop on
> old/broken versions of Gtk#.
>
> http://download.xamarin.com/Installer/gtk-sharp-2.12.20.msi
>
> Alan
>
> On 5 March 2013 22:53, Scott Stephens <stephens.js at gmail.com> wrote:
> > I've been trying to take a look at the changes to MD as a result of the
> > Xamarin Studio 4.0 release, but have been unable to get a version built
> from
> > source to run.
> >
> > I've been attempting to build/debug/run using Visual Studio 2010.  The
> first
> > obstacle was that the solution file is for Visual Studio 2012, but simply
> > changing the two lines at the top seems to make it usable by VS 2010.
>  Next,
> > it seems that no projects are configured to be built with the DebugWin32
> > configuration.  I made a guess as to which were appropriate to build in
> that
> > case, and got it to build and start up.  However, when it runs it doesn't
> > actually do anything useful, it fails while it's initializing in startup.
> > Specifically, the following messages appear in the logs:
> >
> > ERROR [2013-03-05 16:40:14Z]: Error initialising GLib logging.
> > System.BadImageFormatException: An attempt was made to load a program
> with
> > an incorrect format. (Exception from HRESULT: 0x8007000B)
> >    at GLib.Marshaller.g_malloc(UIntPtr size)
> >    at GLib.Marshaller.StringToPtrGStrdup(String str)
> >    at MonoDevelop.Ide.Gui.GLibLogging.Log.SetLogHandler(String logDomain,
> > LogLevelFlags flags, LogFunc logFunc) in
> >
> C:\Users\rock361\Development\thirdpartywork\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\GLibLogging.cs:line
> > 105
> >    at MonoDevelop.Ide.Gui.GLibLogging.set_Enabled(Boolean value) in
> >
> C:\Users\rock361\Development\thirdpartywork\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\GLibLogging.cs:line
> > 226
> >    at MonoDevelop.Ide.IdeStartup.Run(MonoDevelopOptions options) in
> >
> C:\Users\rock361\Development\thirdpartywork\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\IdeStartup.cs:line
> > 91
> > FATAL ERROR [2013-03-05 16:40:14Z]: MonoDevelop failed to start. Some of
> the
> > assemblies required to run MonoDevelop (for example gtk-sharp)may not be
> > properly installed in the GAC.
> > System.BadImageFormatException: An attempt was made to load a program
> with
> > an incorrect format. (Exception from HRESULT: 0x8007000B)
> >    at Gtk.Rc.gtk_rc_get_module_dir()
> >    at Gtk.Rc.get_ModuleDir()
> >    at MonoDevelop.Ide.IdeStartup.SetupTheme() in
> >
> C:\Users\rock361\Development\thirdpartywork\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\IdeStartup.cs:line
> > 299
> >    at MonoDevelop.Ide.IdeStartup.Run(MonoDevelopOptions options) in
> >
> C:\Users\rock361\Development\thirdpartywork\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\IdeStartup.cs:line
> > 96
> >    at MonoDevelop.Ide.IdeStartup.Main(String[] args) in
> >
> C:\Users\rock361\Development\thirdpartywork\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\IdeStartup.cs:line
> > 569
> >
> > Seems like a problem with the Gtk# installation, but I'm not sure what it
> > could be... Xamarin Studio 4.0.1 installed as a binary works fine, and
> I've
> > got Mono 2.10.9 and Mono 3.0.6 installed.
> >
> > Does anybody have a guess as to what might be going on?
> >
> > -- Scott
> >
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20130306/220f9dd4/attachment.html>


More information about the Monodevelop-list mailing list