views:

397

answers:

2

I'm getting this error message whiile running a Webservice I'm working on. it builds, but this happens when I Invoke:

File or assembly name (Redacted).Framework, or one of its dependencies, was not found

The stack trace shows that between my code and the target of the exception, there are 3 referenced DLLs and 4 layers of System.Reflection. How do I find what was passed into the method that threw the Exception, or at least find what dependency it's looking for and where it's looking for it?

I do not have access to the code nor symbols for the referenced DLLs that lie between my code and the Exception.

+1  A: 

You may be able to use the Assembly Binding Log Viewer:

http://msdn.microsoft.com/en-us/library/e74a18c4.aspx

Shiraz Bhaiji
+2  A: 

DependencyWalker helps in finding out which DLLs are missing.

McAden
Actually, I ended up finding what I needed by checking the DLL manifest via ildasm.
tsilb