[Mono-winforms-list] works!

Andy Hume andyhume32 at yahoo.co.uk
Wed Dec 10 16:11:37 EST 2008



pepe_eloy wrote:
> 
> Thanks Andy for your help.
> 
> I ran the program as you tell me and works! This means the libraries are
> installed, but why the program didn't compile?
> 

There's nothing wrong with the WinForms installation, the problem is
elsewhere and may not cause you any other problems. :-)

The -pkg option adds references to sets of pre-defined set of assemblies. 
On your box, some of the libraries from the 'dotnet' set are not installed. 
As they are quite exotic it's probably not an issue for you (well maybe
'oracle' is not so exotic).

So, is it a general fault in ubuntu's installer to use the default dotnet.pc
file, but not install all the assemblies that it references? [1]  As a
workaround I'd just edit the dotnet.pc to remove the missing assemblies. 
(Or create a dotnetGood.pc copy with the edits and reference it).

Andy


[1] To someone more experienced about the compiler: since the assembly
references in the .pc file are implicit (not specified by the user) should
the compiler just not produce an error report when any is missing but only
report a warning?  Or maybe the user would ignore the warnings thus and
swear at the compiler when the fault was with the installation...
-- 
View this message in context: http://www.nabble.com/I-get-error-compiling-in-ubuntu-tp20786571p20944246.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.



More information about the Mono-winforms-list mailing list