FSharp.Core.sigdata not found alongside FSharp.Core

后端 未结 1 1778
难免孤独
难免孤独 2021-01-02 07:02

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#\" Inherit         


        
相关标签:
1条回答
  • 2021-01-02 08:01

    You'll find it with the Reference Assemblies, as sigdata and optdata are design-time things (but I guess CodeDom needs them too?), e.g.:

    C:\Program Files\Reference Assemblies\Microsoft\FSharp\2.0\Runtime\v2.0\FSharp.Core.dll
    C:\Program Files\Reference Assemblies\Microsoft\FSharp\2.0\Runtime\v2.0\FSharp.Core.optdata
    C:\Program Files\Reference Assemblies\Microsoft\FSharp\2.0\Runtime\v2.0\FSharp.Core.sigdata
    

    If you copy those next to the FSharp.Core that the app is using, it will probably work.

    0 讨论(0)
提交回复
热议问题