程序集绑定日志查看器 (fuslogvw) 不记录任何绑定

发布于 2024-09-08 23:54:32 字数 235 浏览 5 评论 0原文

程序集绑定日志查看器 (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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

风情万种。 2024-09-15 23:54:32

进入 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

眼波传意 2024-09-15 23:54:32

经过多次挫折后,我发现默认情况下,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.

余厌 2024-09-15 23:54:32

如果您正在构建 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.

若有似无的小暗淡 2024-09-15 23:54:32

程序集绑定日志查看器 (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).

Fusion++

笑脸一如从前 2024-09-15 23:54:32

根据 这篇 文章,它使用 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.

嘿咻 2024-09-15 23:54:32

我使用 此博客中的脚本post 以启用fuslogvw.exe 的日志记录,而无需使用exe 本身。

该脚本可以在此处下载。

此脚本“启用”和“禁用”Fusion 的自定义设置
日志查看器工具。

启用设置将:

  • 创建日志文件夹(默认:C:\fusionlogs)
  • 添加 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\LogPath 和
    将其设置为日志文件夹
  • 设置 HKEY_LOCAL_MACHINE\SOFTWAR\Microsoft\Fusion\LogFailures
    至 1
  • 可选设置
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\ForceLog 为 1
  • 可选择设置
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\LogResourceBinds
    为 1

禁用设置将:

  • 删除日志文件夹及其内容
  • 删除 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\LogPath
  • 设置 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\LogFailures
    为 0
  • 将 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\ForceLog 设置为
    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:

  • Create a log folder (default: C:\fusionlogs)
  • Add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\LogPath and
    set it to the log folder
  • Set HKEY_LOCAL_MACHINE\SOFTWAR\Microsoft\Fusion\LogFailures
    to 1
  • Optionally set
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\ForceLog to 1
  • Optionally set
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\LogResourceBinds
    to 1

Disabling settings will:

  • Delete the log folder and its contents
  • Delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\LogPath
  • Set HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\LogFailures
    to 0
  • Set HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\ForceLog to
    0
  • Set
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\LogResourceBinds
    to 0
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文