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

前端 未结 8 2119
小蘑菇
小蘑菇 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:06

    I had the same problem and got it working by:

    1. Adding a reference to FSharp.Core in the web project (mine was a C# project)
    2. Changing Copy Local to True in the FSharp.Core reference properties
    3. Build and publish!

提交回复
热议问题