I am developing a c# application and I get the following error at debug runtime:
An unhandled exception of type ‘System.IO.FileNotFoundException’
occurred in Unknown Module.Additional information: Could not load file or assembly
‘Autodesk.Navisworks.Timeliner.dll’ or one of its dependencies. The
specified module could not be found.
Autodesk.Navisworks.Timeliner.dll is in the debug folder of the application. I have repaired the .net framework (version 4) but it did not resolve it. Any ideas on how to resolve this issue? Thanks.
First check – is the working directory the directory that the application is running in:
If this isn’t the problem, then ask if Autodesk.Navisworks.Timeliner.dll is requiring another DLL which is not there.
If Timeliner.dll is not a .NET assembly, you can determine the required imports using the command utility
DUMPBIN.If it is a .NET assembly, there are a number of tools that can check dependencies.
Reflectorhas already been mentioned, and I useJustDecompilefrom Telerik.Also see this question