FS0193: internal error: the module 'System.Net' from compilation unit 'System' did not contain the module/namespace 'Net'

FS0193: Not_found

Some digging with ildasm reveals a reference to

System.Net.WebResponse in FSharp.Core.dll, which in .NET is defined in System.dll but in

Silverlight is defined in System.Net.dll. Could this be the problem? If

so, can anyone suggest a workaround? Merely adding -r System.Net.dll to the command line does not work.

By on 5/8/2008 10:37 AM ()

You need to recompile FSharp.Core.dll against the Silverlight framework assemblies. A moderately annoying task since fslib somtimes references method overloads that are not in Silverlight.

Anyway I have done the recompile and it seems to work. With permission from Microsoft I'll post the binary here or contact me privately.

By on 5/9/2008 3:42 AM ()

I would be very interested in getting the Silverlight-Compiled Core-Dll. I have been working on a small component for a silverlight application prototype and would like to test that without having to rewrite it in C#. I will have to do that anywayeventually , but I'd just like to postpone that as much as possible.

cheers

Mathias

By on 9/1/2008 7:01 AM ()

I got the same error
Is there any other solution?

By on 5/29/2008 8:33 PM ()

I got the same error
Is there any other solution?

I reverted to version 1.9.2.9, which works. The problem with recompiling the sources is that the licence terms do not permit redistribution, which rather defeats the object of Silverlight.

I reported the issue to Don Syme who kindly passed on a bug report.

Amdrew.

By on 5/30/2008 3:24 AM ()

In the 1.9.4.19 minor update we removed a method that depends on System.Net. Please let us know if that improves things here (we believe it should)

thanks

don

By on 7/18/2008 5:07 PM ()
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