Rediģēt

Kopīgot, izmantojot


.NET Framework tools

The .NET Framework tools make it easier for you to create, deploy, and manage applications and components that target the .NET Framework.

Most of the .NET Framework tools described in this section are automatically installed with Visual Studio. To download Visual Studio, visit the Visual Studio Downloads page.

You can run all the tools from the command line, with the exception of the Assembly Cache Viewer (Shfusion.dll). You must access Shfusion.dll from File Explorer.

The best way to run the command-line tools is by using one of the developer shells that Visual Studio installs. These utilities enable you to run the tools easily, without having to navigate to the installation folder. For more information, see Developer Command Prompt and Developer PowerShell.

Note

Some tools are specific to either 32-bit computers or 64-bit computers. Be sure to run the appropriate version of the tool for your computer.

In this section

Al.exe (Assembly Linker)
Generates a file that has an assembly manifest from modules or resource files.

Aximp.exe (Windows Forms ActiveX Control Importer)
Converts type definitions in a COM type library for an ActiveX control into a Windows Forms control.

Caspol.exe (Code Access Security Policy Tool)
Enables you to view and configure security policy for the machine policy level, the user policy level, and the enterprise policy level. In .NET Framework 4 and later, this tool does not affect code access security (CAS) policy unless the <legacyCasPolicy> element\ is set to true.

Cert2spc.exe (Software Publisher Certificate Test Tool)
Creates a Software Publisher's Certificate (SPC) from one or more X.509 certificates. This tool is for testing purposes only.

Certmgr.exe (Certificate Manager Tool)
Manages certificates, certificate trust lists (CTLs), and certificate revocation lists (CRLs).

Clrver.exe (CLR Version Tool)
Reports all the installed versions of the common language runtime (CLR) on the computer.

CorFlags.exe (CorFlags Conversion Tool)
Lets you configure the CorFlags section of the header of a portable executable (PE) image.

Fuslogvw.exe (Assembly Binding Log Viewer)
Displays information about assembly binds to help you diagnose why the .NET Framework cannot locate an assembly at run time.

Gacutil.exe (Global Assembly Cache Tool)
Lets you view and manipulate the contents of the global assembly cache and download cache.

Ilasm.exe (IL Assembler)
Generates a portable executable (PE) file from intermediate language (IL). You can run the resulting executable to determine whether the IL performs as expected.

Ildasm.exe (IL Disassembler)
Takes a portable executable (PE) file that contains intermediate language (IL) code and creates a text file that can be input to the IL Assembler (Ilasm.exe).

Installutil.exe (Installer Tool)
Enables you to install and uninstall server resources by executing the installer components in a specified assembly. (Works with classes in the System.Configuration.Install namespace.)

Lc.exe (License Compiler)
Reads text files that contain licensing information and produces a .licenses file that can be embedded in a common language runtime executable as a resource.

Mage.exe (Manifest Generation and Editing Tool)
Lets you create, edit, and sign application and deployment manifests. As a command-line tool, Mage.exe can be run from both batch scripts and other Windows-based applications, including ASP.NET applications.

MageUI.exe (Manifest Generation and Editing Tool, Graphical Client)
Supports the same functionality as the command-line tool Mage.exe, but uses a Windows-based user interface (UI). Supports the same functionality as the command-line tool Mage.exe, but uses a Windows-based user interface (UI).

MDbg.exe (.NET Framework Command-Line Debugger)
Helps tools vendors and application developers find and fix bugs in programs that target the .NET Framework common language runtime. This tool uses the runtime debugging API to provide debugging services.

Mgmtclassgen.exe (Management Strongly Typed Class Generator)
Enables you to generate an early-bound managed class for a specified Windows Management Instrumentation (WMI) class.

Mpgo.exe (Managed Profile Guided Optimization Tool)
Enables you to tune native image assemblies using common end-user scenarios. Mpgo.exe allows the generation and consumption of profile data for native image application assemblies (not the .NET Framework assemblies) using training scenarios selected by the application developer.

Ngen.exe (Native Image Generator)
Improves the performance of managed applications through the use of native images (files containing compiled processor-specific machine code). The runtime can use native images from the cache instead of using the just-in-time (JIT) compiler to compile the original assembly.

Peverify.exe (PEVerify Tool)
Helps you verify whether your common intermediate language (CIL) code and associated metadata meet type safety requirements.

Regasm.exe (Assembly Registration Tool)
Reads the metadata within an assembly and adds the necessary entries to the registry. This enables COM clients to appear as .NET Framework classes.

Regsvcs.exe (.NET Services Installation Tool)
Loads and registers an assembly, generates and installs a type library into a specified COM+ version 1.0 application, and configures services that you have added programmatically to a class.

Resgen.exe (Resource File Generator)
Converts text (.txt or .restext) files and XML-based resource format (.resx) files to common language runtime binary (.resources) files that can be embedded in a runtime binary executable or compiled into satellite assemblies.

SecAnnotate.exe (.NET Security Annotator Tool)
Identifies the SecurityCritical and SecuritySafeCritical portions of an assembly.

SignTool.exe (Sign Tool)
Digitally signs files, verifies signatures in files, and time-stamps files.

Sn.exe (Strong Name Tool)
Helps create assemblies with strong names. This tool provides options for key management, signature generation, and signature verification.

SOS.dll (SOS Debugging Extension)
Helps you debug managed programs in the WinDbg.exe debugger and in Visual Studio by providing information about the internal common language runtime environment.

SqlMetal.exe (Code Generation Tool)
Generates code and mapping for the LINQ to SQL component of the .NET Framework.

Storeadm.exe (Isolated Storage Tool)
Manages isolated storage; provides options for listing the user's stores and deleting them.

Tlbexp.exe (Type Library Exporter)
Generates a type library that describes the types that are defined in a common language runtime assembly.

Tlbimp.exe (Type Library Importer)
Converts the type definitions found in a COM type library into equivalent definitions in a common language runtime assembly.

Winmdexp.exe (Windows Runtime Metadata Export Tool)
Exports a .NET Framework assembly that is compiled as a .winmdobj file into a Windows Runtime component, which is packaged as a .winmd file that contains both Windows Runtime metadata and implementation information.

Winres.exe (Windows Forms Resource Editor)
Helps you localize user interface (UI) resources (.resx or .resources files) that are used by Windows Forms. You can translate strings, and then size, move, and hide controls to accommodate the localized strings.

WPF Tools Includes tools such as the isXPS Conformance tool (isXPS.exe) and performance profiling tools.

Windows Communication Foundation Tools
Includes tools that make it easier for you to create, deploy, and manage Windows Communication Foundation (WCF) applications.