[MonoDevelop] Error compiling GTK# apps with Mono/MonoDevelop on Windows
jmalcolm
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?
jmalcolm wrote:
>
> Hello,
>
> Using the MonoDevelop 2.2 beta I can build GTK# projects under .NET
> 2.0SP1.
> When I tell MonoDevelop to use Mono 2.4.2.3 instead I get the following
> error.
>
> "The reference to 'gtk-sharp, Version=2.12.0.0, 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
> target
> framework.
>
> 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
> that
> "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 2.4.2.3 + GTK# installer for Windows to install.
> Certainly
> 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
> so
> 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.
> It
> seems to work great though except for this issue.
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>
--
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
mailing list