Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

using FUSLOGVW.EXE on a machine with no Visual Studio installed

I'm currently having some assembly binding problems on our development server. I want to investigate the problem a bit further with Fusion Log Viewer. Since there is no Visual Studio installed on the machine, I copied FUSLOGVW.EXE to a local folder and started it there.

Is this supposed to work or does it need something else? I don't get the impression the application is logging any failures (and yes I have the settings right).

like image 215
Gerrie Schenck Avatar asked Jun 18 '09 11:06

Gerrie Schenck


People also ask

What is Fuslogvw?

fuslogvw. The viewer displays an entry for each failed assembly bind. For each failure, the viewer describes: the application that initiated the bind. the assembly the bind is for, including name, version, culture and public key.

Where is Fuslogvw?

Fuslogvw is an assembly log viewer and part of the . NET framework. The location on my machine is “C:Program Files (x86)Microsoft SDKsWindowsv7. 0ABin.” The actual location on your machine may vary.

What is fusion logging?

ASP.NET Framework has fusion Assembly Binding logging (aka Fusion Logging) which allows you to debug assembly load failures in your . NET applications. Fusion logging comes handy when your application is referencing assemblies or external nuget packages and you are encountering assembly binding failures.


1 Answers

As mentioned in an answer above and in comments, you need to do two things to get the fusion logger to run on a machine without Visual Studio:

  1. Copy fuslogvw.exe to that machine. You can find it wherever you installed .NET (eg. C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\x64\FUSLOGVW.exe)
  2. Copy flogvwrc.dll to the same location as fuslogvw.exe on that machine. You can find it in the 1033 subdirectory where fuslogvw.exe was (eg. C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\x64\1033\flogvwrc.dll)

Once you have fuslogvw.exe and flogvwrc.dll together in one directory, you can run the log viewer. You don't need registry changes or any other changes.

like image 168
ashes999 Avatar answered Sep 21 '22 16:09

ashes999