I've installed F# successfully with SUSE and MONO, but that was a while ago. I don't remember seeing your problem when I installed it. This is a bit of a stab in the dark but my guess is that MONO has a System.Windows.Forms dll ([link:www.mono-project.com]) but you haven't installed it, or more specifically version 1.0.3300.0 isn't available. This winforms dll is automatically referenced by the compiler and thus is giving you grief.

If you don't want to install this dll or it is installed and its a version problem you can resolve, you may want to try compiling using the --no-framework switch. Which will stop it referencing framework libraries automatically. You will of course need to then add the system libraries you do need to compile command by hand ie -r mccorlib.dll -r System.dll etc. ...

By on 8/31/2007 1:05 AM ()

Thanks Robert,

after your answer, I explored the package manager.

I found and installed libmono-winforms1.0-cil package.

libmono-winforms2.0-cil only was on my PC.

The aot compilation worked.

And hello.fs and helloform.fs are also working.

I know have to uninstall all the othe packages I downloaded today, in order to check if the one I listed above is enough...

Salutations

Matt

By on 8/31/2007 4:27 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper