I think I can fix it. This requires manually editing the fsproj file.
Add this after the <PropertyGroup> elements and before the first <Import> .
<PropertyGroup Condition="'$(Platform)' == 'x64'"> <NoStdLib>true</NoStdLib> <OtherFlags>--simpleresolution</OtherFlags> <ReferencePath>C:\Windows\Microsoft.NET\Framework64\v3.5;C:\Windows\Microsoft.NET\Framework64\v2.0.50727</ReferencePath> </PropertyGroup>
Please note that OtherFlags rewritten, which was fine for me since it was empty. If it is used, most likely you should add to the variable. It would be nice to use Microsoft.Build.Tasks for a list of paths instead of using a hard-coded list, but I could not get this to work.
source share