Reputation:
Does anyone know how to extract/generate Meta data from an .NET assembly just like VS "Go to definition" do. When you do this within Visual Studio you get generated CS class files in the temp directory with Meta data classes.
I´m looking for an automatically way to extract/generate CS classes from an entier Assembly.
Is there any tool for this? I have looked at ILDASM, BINDUMP, SVCUTIL etc and a bunch of decompilers. But i cannot find a tool to do what I want.
Upvotes: 1
Views: 2176
Reputation: 564851
VS's Go to definition basically just uses the standard .NET reflection API to extract the public API of the class and present it to you.
There is no decompilation necessary to duplicate this, since the implementation is not provided, just the public API.
Upvotes: 2
Reputation: 25694
Check out the .NET Reflector: http://www.red-gate.com/products/reflector/
Upvotes: 4