Hi there. I am trying to compile an F# module to target Silverlight 2b1 and have hit a brick wall. The F# file "hello.fs" contains no code, and I get the following error,
Implicitly referencing 'C:\Program Files (x86)\Microsoft Silverlight\2.0.30226.2\System.dll'...
Typecheck implementation Hello
Note, optimizations are off.
FS0193: internal error: the module 'System.Net' from compilation unit 'System' did not contain the module/namespace 'Net'
FS0193: Not_found
The command line is
fsc.exe --fullpaths --progress -a -Ooff -g -o "hello.dll" --no-framework --clr-root "C:\Program Files (x86)\Microsoft Silverlight\2.0.30226.2" --no-mllib "hello.fs"Note that System.dll is referenced, even though the --no-framework option is specified. I have tried also referencing System.Net but to no avail.
Any help appreciated.
Thanks,
Andrew.