FSharp.Core.sigdata not found alongside FSharp.Core
Posted
by Mauricio Scheffer
on Stack Overflow
See other posts from Stack Overflow
or by Mauricio Scheffer
Published on 2010-04-28T22:00:28Z
Indexed on
2010/04/28
22:07 UTC
Read the original article
Hit count: 1239
F#
|asp.net-mvc
I'm trying to use F# for an ASP.NET MVC application. One my controller actions sends an F# list to the view, so I write:
<%@ Page Language="C#" Inherits="ViewPage<FSharpList<int>>" %>
Of course, for this to work, I have to add Microsoft.FSharp.Collections
to the namespaces element in my web.config:
<add namespace="Microsoft.FSharp.Collections"/>
and add a reference to FSharp.Core
, in the assemblies element:
<add assembly="FSharp.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
As soon as I add this assembly reference, every view (whether it uses an F# type or not) fails with this error:
error FS1221: FSharp.Core.sigdata not found alongside FSharp.Core
I can work around this by not having any F# specific types in my views, but what's the reason for this error? Also, where's FSharp.Core.sigdata
? It's not in my GAC and I can't find it anywhere.
© Stack Overflow or respective owner