Mike Murphy
Mike Murphy

Reputation: 1297

.NET Assembly References Overview

Does anybody know of a good tool or piece of code that will allow me to produce an overview of the assembly references a project is using?

I'd like to see the Assembly Name, version, path, etc of all the assemblies in a spreadsheet format.

Thanks

Upvotes: 2

Views: 316

Answers (2)

Teoman Soygul
Teoman Soygul

Reputation: 25732

You can always use http://dependencyvisualizer.codeplex.com/. You can also set different output formats (i.e. spreadsheet).

Upvotes: 2

Richard
Richard

Reputation: 108975

Reflector for .NET will show you the references an assembly has (as with ildasm), but the .NET Assembly type also has this information.

So probably easiest to create your own tool that uses Assembly.Load to get the Assembly instance and call its GetReferencedAssemblies method. You can then save the data in whatever format you like (possibly including automating Excel).

Upvotes: 1

Related Questions