程序集绑定日志查看器 (fuslogvw) 不记录任何绑定
程序集绑定日志查看器 (fuslogvw) 不会记录我的计算机上安装的任何版本的框架的绑定。
我尝试使用自定义日志位置、默认日志位置、默认类别和本机图像类别。
程序集绑定日志查看器在几个月前工作过。我在 64 位机器上运行: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\x64\FUSLOGVW.exe
Assembly Binding Log Viewer (fuslogvw) is not logging bindings for any version of the framework installed on my machine.
I tried using a custom log location, the default log location, the default category, and the native images category.
Assembly Binding Log Viewer worked a few months ago. I'm on a 64-bit machine and am running:C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\x64\FUSLOGVW.exe
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
进入 Internet Explorer -->工具-->互联网选项 -->浏览历史记录、删除...、检查临时 Internet 文件并单击删除解决了我的问题。
感谢这篇博文:http://www.request-response.com/blog/CommentView,guid,9f383687-3e1e-4568-833b-ef80e0938337.aspx
Going into Internet Explorer --> Tools --> Internet Options --> Browsing History,Delete..., , checking Temporary Internet Files and clicking delete fixed my issue.
Thanks to this blog post: http://www.request-response.com/blog/CommentView,guid,9f383687-3e1e-4568-833b-ef80e0938337.aspx
经过多次挫折后,我发现默认情况下,
fuslogvw
确实不记录程序集绑定失败!您需要单击“设置”,然后选择“将绑定失败记录到磁盘”,否则您将在窗口中看不到任何内容。
要更改设置,您可能必须以管理员身份运行
fuslogw.exe
。After much frustration I have found that by default,
fuslogvw
does not log assembly binding failures!You need to click 'settings' then select "log bind failures to disk", otherwise you won't see anything in the window.
To change the settings, you may have to run
fuslogw.exe
as administrator.如果您正在构建 ASP.NET MVC 应用程序(或可能涉及 IIS 的任何其他应用程序),则需要重新启动 IIS 才能开始获取绑定日志。
If you're building an ASP.NET MVC application (or possibly any other application involving IIS) restarting IIS was required to start getting binding logs.
程序集绑定日志查看器 (FUSLOGVW.exe) 有不少故障。
例如,它在运行时默认不绑定错误,或者您必须确保不向自定义日志路径添加额外的反斜杠。您无法使用 UI 进行错误搜索,您实际上必须扫描文件系统才能读取日志。哎呀,你甚至无法调整应用程序窗口的大小。
它有太多错误,因此我决定编写一个名为 Fusion++ 的替代程序集绑定日志查看器并将其放在 GitHub 上。它内部使用相同的机制,但会为您解析日志。您根本不必关心任何设置,甚至不需要日志路径
The Assembly Binding Log Viewer (FUSLOGVW.exe) has quite some glitches.
Like the fact that it does not bind errors by default when running or that you have to make sure to not add an additional backslash to a custom log path. You cannot use the UI to go on error hunt you literally have to scan the file system to read logs. Heck, you cannot even resize the app window.
There's so much wrong with it that I decided to write an alternative assembly binding log viewer named Fusion++ and put it on GitHub. It uses the same mechanics internally but parses the logs for you. You don't have to care for any settings at all, not even log paths ????
You can get the latest release from here or via chocolatey (
choco install fusionplusplus
).根据 这篇 文章,它使用 IE 缓存进行日志记录。因此,最好避免一起清除浏览历史记录,然后单击“设置”->“启用自定义日志路径”,然后选择一个不与 IE 共享的目录。
According to this post it uses the IE Cache for logging. So it is a better idea to avoid clearing the browsing history all together and click on Settings->Enable Custom Log Path and choose a directory where you won't be sharing with IE.
我使用 此博客中的脚本post 以启用fuslogvw.exe 的日志记录,而无需使用exe 本身。
该脚本可以在此处下载。
此脚本“启用”和“禁用”Fusion 的自定义设置
日志查看器工具。
启用设置将:
将其设置为日志文件夹
至 1
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\ForceLog 为 1
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\LogResourceBinds
为 1
禁用设置将:
为 0
0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\LogResourceBinds
至 0
I use the script from this blog post to enable fuslogvw.exe's logging, without the need to use the exe itself.
The script can be downloaded here.
This script "enables" and "disables" custom settings for the Fusion
Log Viewer tool.
Enabling settings will:
set it to the log folder
to 1
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\ForceLog to 1
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\LogResourceBinds
to 1
Disabling settings will:
to 0
0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\LogResourceBinds
to 0