[MonoDevelop] Error compiling GTK# apps with Mono/MonoDevelop on Windows
malcolm.justin at gmail.com
Fri Sep 25 14:45:30 EDT 2009
I get the same issue when I install MonoDevelop on Windows XP. It looks like
this is just a bug.
Is anybody out there able to compile GTK# apps on Mono with the Windows
version of MonoDevelop 2.2. beta?
> Using the MonoDevelop 2.2 beta I can build GTK# projects under .NET
> When I tell MonoDevelop to use Mono 22.214.171.124 instead I get the following
> "The reference to 'gtk-sharp, Version=126.96.36.199, Culture=neutral,
> PublicKeyToken=35e10195dab3c99f' is not valid for the target framework of
> the project."
> It does not matter if I chose Mono/.NET 3.5 or Mono/.NET 2.0 for the
> I get this for all the GTK# related DLLs. I can delete the references to
> the DLLs and reference the DLLs directly from the Mono GAC. If I do this,
> when I try to remove the reference to gtk-sharp.dll it says that it can no
> longer use the designer and then will no longer compile. It complains
> "Build" has not been defined or something. This happens even if I have
> already added a reference to the gtk-sharp.dll in the Mono libs. Could it
> be related to the fact that MonoDevelop itself was built on .NET and not
> Mono? Something to do with Stetic? I can compile Windows Forms apps on
> Mono fine as well as very 3.5ish console or ASP.NET apps including Java
> integration via IKVM. It is just GTK# which is giving me a problem.
> I used the Mono 188.8.131.52 + GTK# installer for Windows to install.
> all the DLLs are there.
> How do I get MonoDevelop to compile GTK# apps using the Mono framework on
> Windows? Actually, what I really want to do is build MonoDevelop itself
> that it will use Mono instead of .NET.
> I am using MonoDevelop on a Windows 2000 box so my install is a little
> non-standard. MonoDevelop is running on top of .NET 2.0SP1 with just the
> System.Core.dll from .NET 3.5SP1 dropped into the MonoDevelop directory.
> seems to work great though except for this issue.
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
View this message in context: http://www.nabble.com/Error-compiling-GTK--apps-with-Mono-MonoDevelop-on-Windows-tp25604669p25617201.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
More information about the Monodevelop-list