Click here to monitor SSC

2009 July


Bart Read

.NET Reflector Support: Can I use .NET Reflector to extract the resources from a .NET assembly?

1 comment

Yes you can, if you use the FileGenerator add-in, which you can find at: http://www.codeplex.com/FileGenReflector You may also find Denis Bauer’s FileDisassembler add-in useful: http://www.denisbauer.com/NETTools/FileDisassembler.aspx FileGenerator will allow you to extract images, and any other resources, from .NET assemblies. FileGenerator will not extract images if they are packaged up, along with other resources, in a […]

31 July 2009 12:35 pm by
Bart Read

.NET Reflector Support: Can I view disassembled IL instead of decompiled source code?

0 comments

Absolutely. Just select IL in the language dropdown on the main toolbar: Once you’ve done this, if you right-click on a member, or type, in the browser and click Disassemble on the context menu, .NET Reflector will show you the IL for the selected item, including the IL offset for each instruction, just like ildasm: […]

31 July 2009 12:16 pm by
Bart Read

.NET Reflector Support: Does .NET Reflector support unmanaged code?

1 comment

The answer to this is, unfortunately, no. .NET Reflector will work with any managed assemblies from .NET 1.0 onwards, and other .NET implementations, such as Mono, but it will not support portable executables-i.e., DLLs and EXEs-containing unmanaged code, such as those generated by Visual Studio 6 and earlier, Delphi (in its pre-.NET incarnation), VB6 or […]

31 July 2009 11:25 am by
Bart Read

.NET Reflector Support: Can I customize the appearance of the decompiled source code in the Disassembler pane?

0 comments

Yes, to some extent. You can’t customize the syntax highlighting, and so forth, as you can in Visual Studio, so at the moment it’s not possible to make source code in .NET Reflector look the same as it would in Visual Studio, however you can change the font, which is useful if you prefer to […]

31 July 2009 10:46 am by
Bart Read

.NET Reflector Support: Does .NET Reflector lock assemblies and/or PDB files?

2 comments

No. If you’re having problems with assemblies and/or PDBs being locked, the likely culprit is Visual Studio, assuming you have it open at the same time as .NET Reflector. The problem seems like it might be more prevalent with Visual Studio 2005 than Visual Studio 2008. The PDB files are actually locked by the Visual […]

30 July 2009 1:20 pm by
Bart Read

.NET Reflector Support: Is it possible to configure the visibility of members and types that .NET Reflector displays?

0 comments

The answer to this is, yes, to some extent. You can choose to either see only public members and types, or everything. To change this setting, go to View > Options on the main menu bar, then click Browser in the list on the left, and then choose your desired setting in the Visibility drop-down […]

30 July 2009 1:04 pm by
Bart Read

.NET Reflector Support: How does .NET Reflector deal with indexers?

0 comments

As with other members, .NET Reflector does support indexers. However, if you’re unfamiliar with the notation this may not be immediately obvious, because indexers are treated as properties of the form Item[<index typename>] : <return typename>. Thus, they appear along with the other properties in the treeview, rather than in a separate group, like methods, […]

30 July 2009 12:44 pm by
Bart Read

.NET Reflector Support: .NET Reflector doesn’t decompile some methods correctly – why not?

2 comments

There are various reasons why .NET Reflector might fail to decompile a particular method, generate source that does not match the original source code, or generate source code that will not compile without some modifications being made. I’ve listed some of these reasons here, so, in no particular order: The code has been obfuscated. Generally […]

30 July 2009 11:24 am by
Bart Read

.NET Reflector Support: Is it possible to see XML documentation for members and types?

0 comments

Yes, as long as you have the XML documentation file for the assembly. If the assembly is yours, you just need to make sure you generate the XML documentation file as part of your build process. Many third party code providers will also supply an XML documentation file for each of their assemblies, so you […]

30 July 2009 11:00 am by
Bart Read

.NET Reflector Support: How do I stop .NET Reflector from asking me to locate assemblies all the time?

0 comments

Open up .NET Reflector and go to View > Options on the main menu. Now click on Browser in the list on the left, and then check Automatically resolve assemblies. Click OK, and the prompt should go away. Bear in mind that if you have multiple assemblies with the same name and version number, .NET […]

30 July 2009 10:23 am by
Older posts