首页 文章

FSlex / FSyacc崩溃 - 找不到FSharp.Core程序集

提问于
浏览
2

我遇到FSlex / FSyacc在我的机器上崩溃的问题 .

在上下文中,这是在Parallels虚拟机内运行的Windows 8 Consumer Preview(32位)上运行的Visual Studio 11 beta内部 .

------ Build build:项目:基础,配置:调试任何CPU ------ C:\ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ Microsoft.Common.targets(1546,5) :警告MSB3245:无法解析此引用 . 无法找到程序集“log4net,Version = 1.2.11.0,Culture = neutral,PublicKeyToken = 669e0ddf0bb1aa2a” . 检查以确保磁盘上存在程序集 . 如果您的代码需要此引用,则可能会出现编译错误 . 基础 - > C:\ Users \ nexus \ Desktop \ Statical \ trunk \ Statical \ Basis \ bin \ Debug \ Basis.dll ------ Build started:Project:语法,配置:调试任何CPU ----- - cd C:\ Users \ nexus \ Desktop \ Statical \ trunk \ Statical \ Syntax \ CALL C:\ Users \ nexus \ Desktop \ Statical \ trunk \ Statical \ Syntax \ fsyacc.cmd CALL C:\ Users \ nexus \ Desktop \ Statical \ trunk \ Statical \ Syntax \ fslex.cmd运行fsyacc.cmd ... CalParser.fsp运行fsyacc.exe ...未处理的异常:System.IO.FileNotFoundException:无法加载文件或程序集'FSharp.Core,Version = 2.0.0.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a'或其依赖项之一 . 该系统找不到指定的文件 . 文件名:'FSharp.Core,Version = 2.0.0.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a'at . $ FSharp.PowerPack.FsYacc.Driver.main @()WRN:程序集绑定日志记录已关闭 . 要启用程序集绑定失败日志记录,请将注册表值[HKLM \ Software \ Microsoft \ Fusion!EnableLog](DWORD)设置为1.注意:程序集绑定失败日志记录会导致一些性能损失 . 要关闭此功能,请删除注册表值[HKLM \ Software \ Microsoft \ Fusion!EnableLog] . 运行fslex.cmd ...未运行fslex.exe,因为CalLexer.fs比CalLexer.fsl更新C:\ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ Microsoft.Common.targets(1036,5):错误MSB3073 :命令“cd C:\ Users \ nexus \ Desktop \ Statical \ trunk \ Statical \ Syntax \ CALL C:\ Users \ nexus \ Desktop \ Statical \ trunk \ Statical \ Syntax \ fsyacc.cmd CALL C:\ Users \ nexus \ Desktop \ Statical \ trunk \ Statical \ Syntax \ fslex.cmd“退出,代码为-532459699 . 完成构建项目“Syntax.fsproj” - 失败 .

相关部分似乎是这样的:

未处理的异常:System.IO.FileNotFoundException:无法加载文件或程序集'FSharp.Core,Version = 2.0.0.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a'或其依赖项之一 . 该系统找不到指定的文件 . 文件名:'FSharp.Core,Version = 2.0.0.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a'at at . $ FSharp.PowerPack.FsYacc.Driver.main @()

不知道为什么它找不到FSharp.Core程序集 .

想法?

1 回答

  • 3

    我忘了安装F#2.0 . 对此存在依赖性 .

相关问题