[Gtk-sharp-list] Cannot compile with gtk/glib-sharp assemblies etc. (CS0006)

Mike Kestner mkestner at novell.com
Fri Dec 9 16:11:34 EST 2005


On Fri, 2005-12-09 at 19:33 +0000, kyloe . wrote:

> ]# mcs helloworld.cs -r gtk-sharp.dll -r glib-sharp.dll

Try using mcs -pkg:gtk-sharp-2.0 helloworld.cs

That tells mcs to use pkg-config to get the dll references from
gtk-sharp-2.0.pc.  To use -r you have to provide a fully qualified path
to the assembly.

-- 
Mike Kestner <mkestner at novell.com>



More information about the Gtk-sharp-list mailing list