Re: OT [was: Missing libraries]
Fabian Schmied <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.advanced |
|---|---|
| Message-ID | <[email protected]> |
> I have this project that works fine on my development environment. It uses > several .dll libraries. The problem is that once I deploy it on the > production environment I get some exceptions informing me that the > application could not load one of my .dlls. Now I clearly see the .dll in > the same folder, so this is not a problem of not having the library. I am > guessing must be one of its dependencies that are missing on the production > server. > > Is there a way I can find all the libraries on which my dll is further > dependent? There are several ways, for example: - You can use ILdasm.exe, which comes with the .NET SDK. (Open the assembly, click on "MANIFEST", look at the assembly extern directives.) - You can use Red Gate's .NET Reflector. However, the easiest way to debug such an exception is the Fusion log viewer. I've blogged about it here: <https://re-motion.org/blogs/mix/archive/2009/01/23/could-not-load-something-or-something-else.aspx>. Regards, Fabian =================================== View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives