adspace


How to debug failed assembly binds?

Answer Posted / Hemant Gupta

Failed assembly binds can occur when the .NET runtime is unable to find or load a required assembly. To debug these issues, you can follow these steps:n
1. Check your project's references: Make sure all required assemblies are included as references in your project.
2. Enable Fusion Log Viewer: You can enable the Fusion Log Viewer to see detailed information about failed assembly binds by adding the following line to your application's configuration file:nt<configuration>ntt<startup>nttt<supportByHost><eventProperty name="fusionLog" value="combined"/></supportByHost>ntt</startup>nt</configuration>
3. View the fusion log: After enabling the Fusion Log Viewer, you can find the log in your application's output directory (usually in the Debug or Release folder). The log will contain detailed information about failed assembly binds and may help you identify the cause.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the .net syntax for 'while loop'?

1143