.NET Framework Tools
The .NET Framework tools are designed to make it easier for you to create, deploy, and manage applications and components that target the .NET Framework. This section contains detailed information about the tools.
You can run all the tools from the command line with the exception of the Assembly Cache Viewer (Shfusion.dll) and the Microsoft CLR Debugger (DbgCLR.exe). You must access Shfusion.dll from Microsoft Windows Explorer. DbgCLR.exe is located in the Microsoft.NET"FrameworkSDK"GuiDebug folder.
Important Note: |
For the .NET Framework tools to function properly, you must set your Path, Include, and Lib environment variables correctly. Set these environment variables by running SDKVars.bat, which is located in the <SDK>"v2.0"Bin directory. SDKVars.bat must be executed in every command shell. |
Configuration and Deployment Tools
Configuration and Deployment Tools
Tool | Description |
Allows an administrator to precompile an ASP.NET application, either in place or for deployment. | |
Allows an administrator to create new browser definitions. | |
Allows an administrator or installation program to update the scriptmaps for an ASP.NET application to point to the ASP.NET ISAPI version associated with the tool. You can also use the tool to perform other ASP.NET configuration operations. | |
Allows an administrator to combine and manage assemblies that are created by the ASP.NET Compilation Tool. | |
Allows an administrator to create and manage SQL Server databases used for ASP.NET services such as membership, roles, and profile properties. | |
Allows you to view and manipulate the contents of the global assembly cache using Windows Explorer. | |
Generates a file with an assembly manifest from one or more files that are either resource files or Microsoft intermediate language (MSIL) files. | |
Reads the metadata within an assembly and adds the necessary entries to the registry, which allows COM clients to create .NET Framework classes transparently. | |
Displays details for failed assembly binds. This information helps you diagnose why the .NET Framework cannot locate an assembly at run time. | |
Allows you to configure the CorFlags section of the header of a portable executable image. | |
Allows you to view and manipulate the contents of the global assembly cache and download cache. While Shfusion.dll provides similar functionality, you can use Gacutil.exe from build scripts, makefile files, and batch files. | |
Allows you to install and uninstall server resources by executing the installer components of a specified assembly. | |
Lists or removes all existing stores for the currently logged-on user. | |
Manifest Generation and Editing Tool (Mage.exe) and Manifest Generation and Editing Tool, Graphical Client (MageUI.exe) | Supports the creation and editing of application and deployment manifests. |
Creates a native image from a managed assembly and installs it in the native image cache on the local computer. | |
Provides a graphical interface for managing .NET Framework security policy and applications that use remoting services. This tool also allows you to manage and configure assemblies in the global assembly cache. | |
Adds managed classes to Windows 2000 Component Services by loading and registering the assembly and generating, registering, and installing the type library into an existing COM+ 1.0 application. | |
Generates a type library from a common language runtime assembly. | |
Converts the type definitions found within a COM type library into equivalent definitions in managed metadata format. |
Debugging Tools
Tool | Description |
Provides debugging services with a graphical interface to help application developers find and fix bugs in programs that target the runtime. | |
Provides command-line debugging services using the common language runtime Debug API. Used to find and fix bugs in programs that target the runtime. | |
Provides the debugging services of the common language runtime to Visual Studio or the WinDbg.exe debugging tool. | |
Provides command-line debugging services using the common language runtime Debug API. |
Security Tools
Tool | Description |
Generates X.509 certificates for testing purposes only. | |
Manages certificates, certificate trust lists (CTLs), and certificate revocation lists (CRLs). | |
Verifies the validity of a file signed with an X.509 certificate. The Certificate Verification tool only ships with the .NET Framework SDK version 1.0 and 1.1. In later versions, use the Sign Tool (SignTool.exe) utility instead. | |
Allows you to examine and modify machine, user, and enterprise-level code access security policies. | |
Signs a portable executable (PE) file with an Authenticode digital signature. The File Signing Tool only ships with the .NET Framework SDK version 1.0 and 1.1. In later versions, use the Sign Tool (SignTool.exe) utility instead. | |
Estimates the permissions callers must be granted to access the public entry points of an assembly. | |
Displays the minimal, optional, and refused permission sets requested by an assembly. You can also use this tool to view all declarative security used by an assembly. | |
Performs MSIL type safety verification checks and metadata validation checks on a specified assembly. | |
Migrates security policy between two compatible versions of the .NET Framework. | |
Extracts strong name public key information or Authenticode publisher certificates from an assembly, in a format that can be incorporated into code. | |
Allows you to change the registry settings for the Software Publishing State keys, which control the behavior of the certificate verification process. The Set Registry tool only ships with the .NET Framework SDK version 1.0 and 1.1. In later versions, use the Sign Tool (SignTool.exe) utility instead. | |
Digitally signs files, verifies signatures in files, and time stamps files. | |
Creates, for test purposes only, a Software Publisher's Certificate (SPC) from one or more X.509 certificates. | |
Helps create assemblies with strong names. Sn.exe provides options for key management, signature generation, and signature verification. |
General Tools
Tool | Description |
Generates code and mapping for the LINQ to SQL component of the .NET Framework. | |
Reads text files that contain licensing information and produces a .licenses file that can be embedded in a common language runtime executable. | |
Management Strongly Typed Class Generator (Mgmtclassgen.exe) | Allows you to quickly generate an early-bound class in C#, Visual Basic, or JScript for a specified Windows Management Instrumentation (WMI) class. |
Generates a PE file from Microsoft intermediate language (MSIL). You can run the resulting executable, which contains MSIL code and the required metadata, to determine whether the MSIL code performs as expected. | |
Takes a PE file that contains MSIL code and creates a text file suitable as input to the MSIL Assembler (Ilasm.exe). | |
Converts text files and .resx (XML-based resource format) files to .NET common language runtime binary .resources files that can be embedded in a runtime binary executable or compiled into satellite assemblies. | |
Automatically sets the environment variables that allow you to easily use the .NET Framework tools. | |
Converts type definitions in a COM type library for an ActiveX control into a Windows Forms control. | |
Finds managed classes matching a specified search pattern, and displays information about those classes using the Reflection API. The Windows Forms Class Viewer only ships with the .NET Framework SDK version 1.0 and 1.1. | |
Allows you to quickly and easily localize Windows Forms forms. |