Best (free?) decompiler for C# with Visual Studio integration? [closed]

拜拜、爱过 提交于 2019-11-29 21:49:29
splattne

Here is a good article about Reflector and how to integrate Reflector into Visual Studio.

Of particular interest is the Reflector.VisualStudio Add-In. This add-in, created by Jaime Cansdale, allows for Reflector to be hosted within Visual Studio. With this add-in, you can have Reflector integrated within the Visual Studio environment.

To get started, you will need to have the latest version of Reflector on your machine. Once you have downloaded Reflector, download the latest version of the Reflector.VisualStudio Add-In from http://www.testdriven.NET/reflector. The download contains a number of files that need to be placed in the same directory as Reflector.exe. To install the add-in, drop to the command line and run:

Reflector.VisualStudio.exe /install

After the add-in has been installed, you can start using Reflector from Visual Studio. You’ll notice a new menu item, Addins, which has a menu option titled Reflector. This option, when selected, displays the Reflector window, which can be docked in the IDE. Additionally, the add-in provides context menu support.

When you right-click in an open code file in Visual Studio, you’ll see a Reflector menu item that expands into a submenu with options to disassemble the code into C# or Visual Basic, display the call graph or callee graph, and other related choices. The context menu also includes a Synchronize with Reflector menu item that, when clicked, syncs the object browser tree in the Reflector window with the current code file.

Try the open-source software http://ilspy.net/

The Scout plugin integrates Reflector with ReSharper, if you happen to use that tool.

ReSharper 6 (currently available for early access) supports decompiling in Visual Studio, with the entire ReSharper's navigation feature pack applicable to decompiled code. We have blogged about this some time ago.

I think dotPeek is best free Tools For Decompile C# code and .Net assembly

I don't think it can integrate with Visual Studio, but Reflector can disassemble .NET assemblies into a number of .NET languages, or show the IL.

Remotesoft's Salamander .NET decompiler doesn't integrate in Visual Studio, but it can generate Visual Studio .NET project files for easy recompilation. It's not free.

Marc Gravell

You can attach .NET Reflector to Visual Studio by simply using "Open with" on the DLL/EXE in the bin folder, and choosing Reflector (and set as default). Also, many tools (such as TestDriven.NET if I recall, and possibly ReSharper) provide a level of .NET Reflector integration.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!