im trying write simple f# asp.net mvc app
ive added global.asax follows
<%@ application inherits="webapplication.core.global" language="f#" %> then in separate referenced assembly have
namespace webapplication.core type global() = etc getting 'f#' not supported language.
am not able this?
thanks
you need add below in web.config:
<compiler language="f#;f#;fs;fsharp" extension=".fs" warninglevel="4" type="microsoft.fsharp.compiler.codedom.fsharpaspnetcodeprovider, fsharp.compiler.codedom, version=1.9.6.2, culture=neutral, publickeytoken=a19089b1c74d0809"> <provideroption name="compilerversion" value="v3.5" /> <provideroption name="warnaserror" value="false" /> </compiler> source , more details: http://codebetter.com/matthewpodwysocki/2008/10/07/asp-net-mvc-with-nhaml-f-edition/
Comments
Post a Comment