[Mono-list] problem linking against gecko-sharp

asebian asebian at gmail.com
Thu Nov 20 08:58:05 EST 2008

Hi, I built 


from source on a linux system. I'm not a C# programmer and totally out of
the windows world so the solution to my problems might be pretty obvious.
I found a simple demo code to test my installation with. The compilation
fails for the first time in the line with the 'using Gecko;' directive.

# mcs -pkg:gtk-sharp-2.0 -pkg:glade-sharp-2.0 WebBrowser.cs
WebBrowser.cs(4,7): error CS0246: The type or namespace name 'Gecko' could
not be found. Are you missing a using directive or an assembly reference?

There is a simmilar error complaining about 'WebControl'.
When I add '-pkg:gecko-sharp-2.0' to my command all of these messages vanish
but I end up with this message:

error CS0006: cannot find metadata file
Compilation failed: 1 error(s), 0 warnings

On my system this file is a dangling symlink to the non existing

This means ther is something wrong with my install, right?
Is there a specific order I have to compile the packages in?
Did I miss some additional configuration?
Do I have to use gacutil? ... but how?

View this message in context: http://www.nabble.com/problem-linking-against-gecko-sharp-tp20601579p20601579.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list