I used the .NET 2.0 version of F # PowerPack in the F # snippets website , which is a .NET 4.0 ASP.NET project. The only drawback of not using version 4.0 was that I had to add a configuration to download version 4.0 of FSharp.Core.dll when searching for version 2.0 (which version 2.0 of PowerPack refers to).
I had to add something like the following, and then everything worked out simply:
<configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" /> <bindingRedirect oldVersion="2.0.0.0" newVersion="4.0.0.0" /> </dependentAssembly> </assemblyBinding> </runtime> </configuration>
source share