I have an assembly that depends on other assemblies, and these other assemblies have their own dependencies etc..
Is there an easy way to get a list of file paths to all the depended assemblies files Offcourse I can program some clunky probing algo, but isn't there a method in the framework that does that for me and does that very good
Something like the ResolveAssemblyReference task of the MSBUILD api (more info about that here: http://blog.dreamprojections.com/archive/2005/05/01/846.aspx)
Thank you,
Ward

How to get a list of all assembly dependencies and their complete file paths ?
XASD
If i understand Junfeng's tool correctly it's not exactly what i need. In these msdn docs is a description of the behavior I want to duplicate (see below). So I want to get a list of the paths of depended assemblies, xml doc files, resource files etc.
Ward
From the list of available projects, select the one to which you want a reference and then click OK.
The following are added to your Web site's Bin folder:
A copy of the assembly created from the added project.
Copies of dependent assemblies, XML document files, license files, resource files, and so on.
The program database (.pdb) file, which holds debugging and project state information for the debug version of the added assembly. This file is copied if present in the original location, regardless of the build settings.
bharathirajaa
You can use Junfeng's tool that calculates the binding closure of an assembly. He's got the source code posted in his blog here: http://blogs.msdn.com/junfeng/archive/2004/08/18/216863.aspx
-Shawn
mci
I need to do the same thing too. Any help please.
Regards,
Eric A