Thursday, September 11, 2014

Decompile Methods with ReSharper

ReSharper is an amazing tool that .NET developers should never be without. One of my favorite features that if offers is build in support for decompiling methods when navigating to source. Enabling this option will literally allow you to view external source code simply by going to definition.

To enable this option, go to...

  1. Open the "ReSharper" Drop Down
  2. Select "Options"
  3. Expand "Tools"
  4. Select "External Sources"
  5. Select "Navigation to Sources"
  6. Check "Decompile methods"
  7. Save, and you're done!

Would you like to do this outside of Visual Studio as well? Check out JetBrains FREE decompiler tool, dotPeek.

Enjoy,
Tom

2 comments:

  1. ReSharper's built-in decompilation support is a useful feature for .NET developers who need to understand how external libraries work without having the original source code readily available. Being able to navigate directly to a method definition and view its decompiled implementation can make debugging, learning, and investigating third-party assemblies much more convenient.

    The step-by-step instructions make the feature easy to discover, especially the navigation through ReSharper's External Sources settings. Developers building a strong foundation in .NET can benefit from exploring a Dot Net Full Stack Developer Course while learning how development tools can improve everyday coding and debugging workflows.

    ReplyDelete
  2. Decompilation can also be valuable when working with unfamiliar dependencies because it provides additional insight into library behavior during development. Combining these tooling skills with practical full-stack development through an ASP.NET with React Course can help developers become more effective when building and troubleshooting modern applications.

    ReplyDelete

Real Time Web Analytics