[Mono-winforms-list] I get error compiling in ubuntu

Andy Hume andyhume32 at yahoo.co.uk
Mon Dec 8 16:14:51 EST 2008




pepe_eloy wrote:
> 
> Hi!
> 
> I'm a newbie using mono. For me represent a interesting choice to write
> .net code and running it in several OS. I'm trying the samples from the
> mono-project page ( http://mono-project.com/Mono_Basics
> http://mono-project.com/Mono_Basics ). The console and the gtk# samples
> worked fine, but when I compiled the winforms sample I get the following
> errors:
> 
> pepe-eloy at pepe:~/proyectos-mono$ gmcs hello-winforms.cs -pkg:dotnet
> error CS0006: cannot find metadata file `cscompmgd.dll'
> error CS0006: cannot find metadata file `Microsoft.JScript.dll'
> error CS0006: cannot find metadata file `Microsoft.VisualC.dll'
> error CS0006: cannot find metadata file `Microsoft.Vsa.dll'
> error CS0006: cannot find metadata file `System.Data.OracleClient.dll'
> error CS0006: cannot find metadata file `System.DirectoryServices.dll'
> error CS0006: cannot find metadata file `System.Messaging.dll'
> Compilation failed: 7 error(s), 0 warnings
> 
> The version of mono that i've downloading is the 2.0, I downloading from
> ubuntu repositories.
> The ubuntu version i have is 8.10
> 
> I think something library is missing, but what?
> 
> Thanks for any help
> 
> José Eloy Torres
> México
> 

Wierd, try:
    gmcs hello-winforms.cs /r:System.Windows.Forms /r:System.Drawing

Seems that the "dotnet" package file is referencing assemblies that aren't
installed...

Andy
-- 
View this message in context: http://www.nabble.com/I-get-error-compiling-in-ubuntu-tp20786571p20903674.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.



More information about the Mono-winforms-list mailing list