FUSLOGVW.exe / REGEDIT.exe | “装配绑定”为F#脚本执行引用FsPlot.dll时出错。 [英] FUSLOGVW.exe / REGEDIT.exe | "Assembly Binding" Error When Referencing FsPlot.dll for a F# Script Execution.
问题描述
当我第一次执行.fsx文件时,我收到以下错误。
When I first executed the .fsx file I received the following error.
" WRN:程序集绑定日志记录已关闭。要启用程序集绑定失败日志记录,请将注册表值[HKLM \Software\Microsoft \Fusion!EnableLog](DWORD)设置为1.注意:程序集绑定失败
logging会导致性能损失。要关闭此功能,请删除注册表值[HKLM\Software\Microsoft\Fusion!EnableLog]。"
从那里,我做了错误本身和许多在线论坛帖子建议并将DWORD更改为1.我通过运行regedit.exe(导航到HKLM \Software \ Microsoft \Fusion)以及运行FUSLOGVW.exe并选择" ; log
所有绑定到磁盘"设置。然后我刷新了窗口,退出Visual Studio 2017,重新打开它并尝试再次执行相同的脚本。我又回去并执行了FUSLOGVW.exe,其中'Application Type:devenv.exe'的日志条目成功记录了
。但是,我在F#Interactive控制台中收到以下错误。
From there, I did as the error itself and many online forum posts suggested and changed the DWORD to 1. I did this by running both the regedit.exe (navigating to HKLM\Software\Microsoft\Fusion) and also by running the FUSLOGVW.exe and selecting the "log all bindings to disk" setting. I then refreshed the window, exited Visual Studio 2017, opened it back up and tried executing the same script again. I went back again and executed FUSLOGVW.exe where the log entries of 'Application Type: devenv.exe' were successfully logged. However, I then received the following error in the F# Interactive console.
"
的 - >引用'c:\ ... \packages \MathNet.Numerics.4.5.1\lib\\\
et461 \MathNet.Numerics.dll'
- >引用'c:\ ... \packages \MathNet.Numerics.FSharp.4.5.1 \lib \ net45 \ MathNet.Numerics.FSharp.dll'
- >引用'c:\ ... \ packagesages \FsPlot.0.6.6 \lib \ net45 \FsPlot.dll'
推荐答案
似乎您正在使用第三方库FsPlot,它需要特定版本的第三方WebDriver。
如果您无法获得作者的支持,那么可以尝试创建一个新的桌面控制台应用程序,在解决方案资源管理器中右键单击项目,转到
到"管理NuGet包...","浏览"选项卡,搜索FsPlot并安装它。然后,解决方案资源管理器中的"引用"节点应列出已成功添加的程序集,包括WebDriver。
然后尝试执行一些实验,并复制先前项目中的代码。
这篇关于FUSLOGVW.exe / REGEDIT.exe | “装配绑定”为F#脚本执行引用FsPlot.dll时出错。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!