我已经安装了最新的FSharp软件包,但是现在每当我在Visual Studio中点击控制空格键时,我都会收到此错误:
问题阅读程序集' FSharp.Core,版本= 4.3.1.0, Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a':打开时出错 二进制文件 ' C:\的Windows \ Microsoft.Net \组件\ GAC_MSIL \ FSharp.Core \ v4.0_4.3.1.0__b03f5f7f11d50a3a \ FSharp.Core.dll&#39 ;: 在FSharp.Core
旁边找不到FSharp.Core.sigdata
修改1
此外,当我尝试编译时,我收到以下错误:
FSC:错误FS1223:在FSharp.Core旁边找不到FSharp.Core.sigdata
FSC:错误FS0229:打开二进制文件时出错' C:\ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ FSharp.Core \ v4.0_4.3.1.0__b03f5f7f11d50a3a \ FSharp.Core.dll':在FSharp.Core
旁边找不到FSharp.Core.sigdataFSC:错误FS3160:读取程序集问题' FSharp.Core,Version = 4.3.1.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a':打开二进制文件时出错' C:\ Windows \ Microsoft .Net \ assembly \ GAC_MSIL \ FSharp.Core \ v4.0_4.3.1.0__b03f5f7f11d50a3a \ FSharp.Core.dll&#39 ;: FSharp.Core.sigdata与FSharp.Core一起找不到
完成建筑项目" Library1.fsproj" - 失败。
修改2
最重要的是,当我尝试运行fsi.exe时出现以下错误:
> Session termination detected. Press Enter to restart.
unknown(1,1): error FS1223: FSharp.Core.sigdata not found alongside FSharp.Core
unknown(1,1): error FS0229: Error opening binary file 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\FSharp.Core\v4.0_4.3.1.0__b03f5f7f11d50a3a\FSharp.Core.dll': Exception of type 'Microsoft.FSharp.Compiler.ErrorLogger+StopProcessing' was thrown.
unknown(1,1): error FS3160: Problem reading assembly 'FSharp.Core, Version=4.3.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a': Exception of type 'Microsoft.FSharp.Compiler.ErrorLogger+StopProcessing' was thrown.
注意:我仍然可以为F#3.0运行fsi.exe。我只有这个问题3.1(C:\ Program Files(x86)\ Microsoft SDKs \ F#\ 3.1 \ Framework \ v4.0)
我知道如何恢复功能性F#?
编辑3
在经过多次修复安装/系统重启之后,我似乎再次能够编译我的F#项目。 fsi.exe和Visual Studio Intellisense的问题仍然存在。