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
In my case, this was caused by a corrupted config. I removed every reference to F# in the *.fsproj
and *.csproj
files (including binding redirects), reinstalled the FSharp.Core
package from NuGet, and everything worked out nicely.
adding
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
to the *.csproj
file helped me with the same problem. https://msdn.microsoft.com/en-us/library/2fc472t2%28v=vs.110%29.aspx