Hide this comment

I think it would be 4.0.0.0, a la

C:\> dir /s/b \Windows\Microsoft.NET\assembly\fsharp.compiler*
...
C:\Windows\Microsoft.NET\assembly\GAC_MSIL\FSharp.Compiler\v4.0_4.0.0.0__b03f5f7f11d50a3a\FSharp.Compiler.dll
...

Oops, heh, you want FSharp.Compiler.CodeDom in the powerpack; offhand I don't know if that's in the GAC.

You can try to 'add reference' to it in VS and see what version number it says in the dialog, or else use ildasm or reflector to view the assembly version. Probably either 1.9.9.9 or 2.0.0.0, I forget.

By on 3/20/2010 10:09 AM ()Reply
Hide this comment

thx brianmcn

PowerPack (v1.9.9.9) and site is working.

ASP.NET behaves strangely, but it works

By on 3/20/2010 1:43 PM ()Reply
Hide this comment

What steps must one take to get it running? I've got the codedom loaded and copied everything that I could from a C# based project to make sure to not miss anything, but I cannot get the web app to run. I get an error stating that a class library cannot be used as a startup project. Do I need to use a different F# project type?

Cheers,

Ryan

By on 3/25/2010 8:26 PM ()Reply
Hide this comment

</img> <img src="http://img136.imageshack.us/img136/6206/webconfig.jpg"></img> <img src="http://img694.imageshack.us/img694/9981/defaultaspxo.jpg"></img> <img src="http://img153.imageshack.us/img153/2977/defaultaspxfs.jpg"></img> <img src="http://img171.imageshack.us/img171/9610/itwork.jpg"></img>

By on 3/28/2010 6:30 PM ()Reply
Hide this comment

must the instance variable like lblResult be declared again in the F# class ? i.e. there needs to be a 1 to 1 mapping between aspx controls and aspx.cs instance variables ?

By on 4/2/2010 10:00 AM ()Reply
Hide this comment

Interesting... I'll try again. Thanks!

By on 4/2/2010 8:57 AM ()Reply
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

Logging in...