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_MACHINESoftwareMicrosoftFusionForceLog
To run the utility:
- Go to the VS.NET command prompt and type fuslogvw.
- The application that starts this utility has three columns: Application, Description, and Date/Time. Click on Refresh.
- Default is selected at the bottom.
- Rerun your application. You should be able to see an entry for your app in the log viewer.
- 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:WINNTMicrosoft.NETFrameworkv1.0.3705fusion.dll