问题
I will like to see the value of some private variables of the Regex class located on System.dll. If curious why I will like to twick that class look at this question.
So I will have to decompile C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.dll
I am able to decompile that with reflector:
Now my question is Is there a way of creating a solution of visual studio with all those classes. There are hundreds of classes in there and I do not want to go one by one placing them to my new project.
回答1:
Both ILSpy and JustDecompile allow exporting to a Visual Studio project.
回答2:
If you are wanting to create the whole project look at http://www.reflector.net/ it has a addin called FileDisassembler http://www.reflector.net/add-ins/ that will do just what you are looking for.
来源:https://stackoverflow.com/questions/11726980/decompile-assembly-into-project