Cyberiafreak

"Fortunate are those who take the first steps.” ― Paulo Coelho

How to find missing dll in .NET? Fuslogvw.exe

Let say our app is ready for deployment for the first time or recompiled. And we want to double check whether all the dependencies were copied properly with right versioned assemblies referenced. Then here is the tool which would help you to avoid running into problem like ‘Could not load file or assembly’..
blog

Here is the tool which gives you a list of bind failures in a log.

How to launch:   http://msdn.microsoft.com/en-us/library/e74a18c4
More tweaking : http://stackoverflow.com/questions/255669/how-to-enable-assembly-bind-failure-logging-fusion-in-net

   Note: Make sure you run this tool with admin privilege and also refresh to see them loading.

Save the below keys as .REG and double click to set it.
EnableLog
============
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion]
“EnableLog”=dword:00000001
“ForceLog”=dword:00000001
“LogFailures”=dword:00000001
“LogPath”=”C:\\Fusion”

DisableLog
===============
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion]
“EnableLog”=dword:00000000
“ForceLog”=dword:00000000
“LogFailures”=dword:00000000
“LogPath”=”C:\\Fusion”

Note: Don’t forget to disable after enabling it.

Advertisements

November 3, 2013 - Posted by | .NET General

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: