Could not load file or assembly FSharp.Core, Version=4.0.0.0

前端 未结 8 2110
小蘑菇
小蘑菇 2020-12-15 03:51

I\'m trying to deploy a web application which uses F# 4.0 on Windows Server 2008.

It works on my computer where VS2010 is installed but it doesn\'t work on the serve

8条回答
  •  轮回少年
    2020-12-15 04:12

    You need to install the redist (F# runtime) on the deployment machine. See e.g.

    http://msdn.microsoft.com/library/ee241127(VS.100).aspx (or http://msdn.microsoft.com/en-us/library/ee829875.aspx)

    for info on how to have a VS project chain the installer. As you've found, the redist (located here:

    http://www.microsoft.com/downloads/details.aspx?FamilyID=5f0a79f8-925f-4297-9ae2-86e2fdcff33c&displaylang=en

    ) needs to be installed; FSharp.Core is not part of .NET, rather it is a separately installed component.

提交回复
热议问题