![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I want to catch FileNotFoundException in case my application is unable to find a required assembly file, for logging a error message to my log file. Is it possible to handle this exception ? I treid catching this exception in Main(). But it wont work! Please let me know if any one has any idea. |
#3
| |||
| |||
|
|
I want to catch FileNotFoundException in case my application is unable to find a required assembly file, for logging a error message to my log file. Is it possible to handle this exception ? I treid catching this exception in Main(). But it wont work! Please let me know if any one has any idea. You could use the AssemblyResolve event of the AppDomain to log this. Fabian |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |