.net 在我的机器上找不到 fuslogvw.exe

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1674279/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-03 13:31:42  来源:igfitidea点击:

Can't locate fuslogvw.exe on my machine

.net

提问by Gerrie Schenck

I'm looking for the assembly binding log viewer executable (fuslogvw.exe), but I can't seem to find it on my machine. It's there for sure, because when I type fuslogvw in a Visual Studio command prompt the application opens.

我正在寻找程序集绑定日志查看器可执行文件 (fuslogvw.exe),但我似乎在我的机器上找不到它。这是肯定的,因为当我在 Visual Studio 命令提示符中键入 fuslogvw 时,应用程序会打开。

The machine I'm working on has a clean Visual Studio 2008 installation, no previous versions were ever installed.

我正在使用的机器安装了干净的 Visual Studio 2008,以前没有安装过任何版本。

Anyone knows where to find it? I need the exe to be able to copy it to a server to solve a binding issue.

有谁知道在哪里可以找到它?我需要 exe 才能将其复制到服务器以解决绑定问题。

回答by Rob Levine

On my box, also with VS2008, it can be found at

在我的盒子上,也有 VS2008,它可以在

C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\fuslogvw.exe

C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\fuslogvw.exe

In Windows 7, and Windows 8.1, it's located under the directories that are here:

在 Windows 7 和 Windows 8.1 中,它位于以下目录下:

C:\Program Files (x86)\Microsoft SDKs\Windows{version}\bin{.NET Version Tools}

C:\Program Files (x86)\Microsoft SDKs\Windows{version}\bin{.NET 版本工具}

So for Windows 8.1 and .NET 4.5.1:

所以对于 Windows 8.1 和 .NET 4.5.1:

C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1a\bin\NETFX 4.5.1 Tools\

C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1a\bin\NETFX 4.5.1 Tools\

回答by Adam Mendoza

My Computer has it in a different place under Tools for Visual Studio 2010

我的电脑在 Visual Studio 2010 工具下的不同位置

C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\x64\

C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\x64\

Open the folder and run FUSLOGVW.exe as administrator then you can enable the log in settings.

打开文件夹并以管理员身份运行 FUSLOGVW.exe 即可启用登录设置。

回答by Michael Burr

On my machine it's in the SDK's bindirectory.

在我的机器上,它位于 SDK 的bin目录中。

To help you out, here's a quick-n-dirty batch file nightmare that will search the path for a file you give it:

为了帮助您,这里有一个快速而肮脏的批处理文件噩梦,它将搜索您提供的文件的路径:

@if EXIST %1 echo .\%1
@for %%e in (%PATHEXT%) do @for %%i in (%1%%e) do @if EXIST %%i echo .\%%i
@if NOT "%~$PATH:1"=="" echo %~$PATH:1
@for %%e in (%PATHEXT%) do @for %%i in (%1%%e) do @if NOT "%%~$PATH:i"=="" echo %%~$PATH:i

回答by Mark Sowul

Use the Visual Studio / development tools command prompt.

使用 Visual Studio/开发工具命令提示符。

https://msdn.microsoft.com/en-us/library/e74a18c4(v=vs.110).aspx

https://msdn.microsoft.com/en-us/library/e74a18c4(v=vs.110).aspx

This tool is automatically installed with Visual Studio. To run the tool, use the Developer Command Prompt (or the Visual Studio Command Prompt in Windows 7) with administrator credentials. For more information, see Visual Studio Command Prompt.

At the command prompt, type the following:

fuslogvw

此工具随 Visual Studio 自动安装。要运行该工具,请使用具有管理员凭据的开发人员命令提示符(或 Windows 7 中的 Visual Studio 命令提示符)。有关详细信息,请参阅 Visual Studio 命令提示符。

在命令提示符下,键入以下内容:

fuslogvw

回答by Waescher

Might be late to the party but maybe some of you might be interested in a modern alternative to FUSLOGVW.exe I put on GitHub: Fusion++

可能会迟到,但也许你们中的一些人可能对我放在 GitHub 上的 FUSLOGVW.exe 的现代替代品感兴趣:Fusion++

Fusion++

融合++

It's super easy to use: Just click "Record" to capture assembly logs. If you are done, click "Stop" again and Fusion++ will parse all the log files for you.

使用起来超级简单:只需单击“记录”即可捕获装配日志。完成后,再次单击“停止”,Fusion++ 将为您解析所有日志文件。

回答by Melbourne Developer

Windows 10:

视窗 10:

C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX [INSERT VERSION HERE] Tools

C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX [在此处插入版本] 工具

回答by mfeingold

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin

回答by Ned

You can run this tool via Visual Studio Command Prompt (Make sure to run the command prompt as Administrator):

您可以通过 Visual Studio 命令提示符运行此工具(确保以管理员身份运行命令提示符):

enter image description here

在此处输入图片说明

Note: It's also a quick way to use Registry Editor to enable assembly binding: How to enable Assembly Binding Logging (Fusion Log Viewer – fuslogvw.exe)?

注意:这也是使用注册表编辑器启用程序集绑定的一种快捷方式:如何启用程序集绑定日志记录(Fusion Log Viewer – fuslogvw.exe)?