views:

2443

answers:

3

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).

+3  A: 

Fuslogvw doesn't do the logging. The fusion loader does that. Fuslogvw just displays the log output. Are you getting any logs at all in the output directory you have configured?

Oh, and it should work on a machine that does not have Visual Studio installed.

adrianbanks
No I don't get any output when I choose to log to disk.
Gerrie Schenck
Set an explicit custom log path and choose "log all binds to disk" in the settings dialog. The logs should end up there. If they are not appearing, check the permissions on the directory you have specified as the log path (and that it actually exists).
adrianbanks
+1  A: 

You might be using the wrong version of fuslogvw. check c:\program files\microsoft SDKs or c:\program files\Microsoft.net\SDK for a different version of the utility.

Dror Helper
I'm using the one from Visual Studio 2005 to check problems in 3.5 assemblies. I think this is correct? What else do you mean with versions?
Gerrie Schenck
+1  A: 

You also need to create a ForceLog key in HKLM\SOFTWARE\Microsoft\Fusion with a DWORD value of 1 to turn on the log. You should set this value back to 0 when not testing otherwise it will keep populating the log. Create a folder eg. C:\fuslog and refer to it in the Custom log path in Settings in the Assembly Binding Log Viewer.