Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: .NET
Expertise: Intermediate
Nov 15, 2006

A .NET Assembly Log Viewer

This utility tool logs the information when you build the assembly and is packaged along with the .NET Framework Tools. It allows you to view all the assembly bindings in an application. This means that if there's a failure, it's been logged along with complete descriptions of said failure.

For the viewer to log all the results, you need to add certain keys to the registry. Most machines don't have these keys. If your machine has them, simply changed the value or else create a new DWORD key named ForceLog. The value of this key should be greater than 0.


Under  HKEY_LOCAL_MACHINE\Software\Microsoft\Fusion\ForceLog
To run the utility:
  1. Go to the VS.NET command prompt and type fuslogvw.
  2. The application that starts this utility has three columns: Application, Description, and Date/Time. Click on Refresh.
  3. Default is selected at the bottom.
  4. Rerun your application. You should be able to see an entry for your app in the log viewer.
  5. Double click on the entry or select the entry and click on View Log to view the log details.
The following is a sample log for a successful binding:

The operation was successful.

Bind result: hr = 0x0. The operation completed successfully.

Assembly manager loaded from: 

C:\WINNT\Microsoft.NET\Framework\v1.0.3705\fusion.dll
Vinay Pole
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap