Working with .NET Assemblies
In this section:
- Assemblies and Lists
- Assembly Details
- Assembly References and Dependencies
Assembly Analyzer allows the user to analyze the metadata and resources within .NET assemblies.
Assemblies and Lists
Assembly Analyzer manages assemblies using lists. When you open an assembly, Assembly Analyzer creates a list containing the assembly and all its dependencies. If you prefer, you can start with an empty list and add the individual assemblies.
To open an assembly:
- Click File > Open or click the the
on the toolbar.
- Browse to the desired assembly.
To create an empty assembly list:
- Click File > New or click the
button on the toolbar.
- Use Assembly > Load Assembly and Assembly > Load Framework Assembly to add individual assemblies to the list.
The assembly list is divided into two sections: the navigation section (left), and the detail section (right). The navigation section displays features for navigating and searching through assemblies. The detail section displays information on
the selected object. The top part of the detail section shows summary information and commands that may be performed with the object.
The navigation section offers three navigation features: Type Tree, Search, and Favorites. The type tree has a list of the assemblies contained in the list. An assembly node may be expanded to reveal the types and members within the assembly,
group by namespace. Click on a node to display the details in the detail section. The Search tab allows you to search for all members of all assemblies within the list that contain the search string in the name. Double-click an item in the
list to navigate to it. The Favorites list shows members that you have added to favorites. Double-click an item to navigate to it. To add an item to favorites, either right-click it in the type tree and click
Add to Favorites, or navigate to it and click the Add to favorites command link.
Navigate to an assembly to view assembly-level details, such as the assembly-level attributes, references, and resources. To view the unmanaged structure of the assembly, click
View module details.
The References tab displays a list of assemblies that are referenced by the selected assembly. Expanding the node reveals a list of types and members that are referenced in that assembly.
Note: This list does not include references to instantiations of generic types.
The Resources tab displays a list of resources that are contained within the assembly. This list contains manifest resources as well as those accessed with a
pack:// URI. Highlight a resource and click Save Resource to save the resource to a file. Double-click a resource to view it.
Note: Not all types of resources can be viewed within the application.
The Strings tab displays a list of user strings contained within the assembly. This includes all strings that are referenced from a method body or field initializer. It does not include strings referenced within a attribute constructor.
To search for a string, use the Search box. Expand a node to view a list of members that reference the string.