使用反射创建的VisualStudio项目 [英] Using Reflector To Create VisualStudio Project
问题描述
我有一个.exe文件的应用程序,我想更好地理解 - 我可以看到它在反射
I have a .exe app which I want to understand better - I can see it in reflector
有没有什么办法让反射器来创建一个VS项目,代码这样我就可以在Visual Studio中正常观看?
Is there any way to get reflector to create a VS project with the code so I can view it properly in Visual Studio?
推荐答案
需要的没什么特别的,它内置了反射,尽管不是很被发现。右键单击左窗格中的组件,然后选择导出。你会得到一个机会来改变输出目录。单击确定,开始反射反编译代码,从而为每个类的源文件。并创建一个.csproj的文件,你可以在Visual Studio中打开。
Nothing special is needed, it is built into Reflector, albeit not very discoverable. Right-click the assembly in the left pane and choose Export. You'll get a chance to change the output directory. Click OK and Reflector starts decompiling the code, creating a source file for each individual class. And creates a .csproj file which you can open in Visual Studio.
这篇关于使用反射创建的VisualStudio项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!