.NET 2.0 SDK Programs - What Does Each Tool Do?

My question is simple. What are they doing?

The answer below is a list of the .NET SDK tools that are part of the structure.

+62
sdk
Sep 01 '09 at 14:06
source share
6 answers

This answer contains brief descriptions and links to all .NET SDK tools. Feel free to edit if you have any further information, or know any missing tools.

  • al.exe - Assembly Linker generates a file with an assembly manifest from one or more files, which are either modules or resource files. The module is an intermediate language of Microsoft ( metadata without a manifest), you can use it to create an assembly with a manifest in a separate file.

  • apatch.exe - uses the Delta Compression API , and it specifically uses knowledge of PE files to improve compression methods. This is part of the Windows installation technology. Advantages: less than the release of a new DLL; A patch is only useful if the audience has an original DLL. Thus, you can freely release the patch without worrying about piracy.

  • aspnet_merge.exe - The ASP.NET merge tool allows you to combine and manage assemblies that are created using the ASP.NET compilation tool ( Aspnet compiler ). The ASP.NET merge tool works with assemblies that were created using ASP.NET version 2.0 or later. This allows you to: Create one assembly for the entire website; Create an assembly for each website folder and add a prefix to the assembly name; Create a single assembly only for website user interface (UI) elements such as pages and controls.

  • AxImp.exe - ActiveX Control Importer converts type definitions into a COM type library for ActiveX into a Windows Forms control. In Windows Forms, only Windows Forms controls can be hosted, that is, classes derived from Control. It creates a wrapper class for an ActiveX control that can be hosted on a Windows form. This allows you to use the same development-time support and programming methodology that applies to other Windows Forms controls.

  • Cert2Spc.exe - Software Publisher Certificate Testing Tool creates a software publisher certificate (SPC) from one or more X.509 certificates . This is for testing purposes only. You can obtain a valid SPC from a Certification Authority such as VeriSign or Thawte.

  • checkv4.exe - Checkv4 utility is designed to provide you with a code porting partner; a utility that passes through your code base with you identifies potential problems or identifies code that may benefit from IPv6-enabled functions or structures and gives recommendations. Using Checkv4, the task of modifying an existing IPv4 application to support IPv6 is made much easier

  • clrver.exe - determine which versions of the Common Framework.NET Framework ( CLR ) runtime are installed on the computer.

  • Consume.exe - this command-line tool can consume system resources in a certain amount of time and is useful for reproducing errors that can be caused by resource starvation. Resources that it can use include physical memory, page space, disk space, kernel pool, and processor time. As an example, launch the Windows task manager (Start-> Run-> taskmgr.exe) and select the Performance tab. Then open the Windows SDK CMD window (Start-> All Programs-> Windows SDK v6.1-> CMD Shell) and enter the following "consume.exe -cpu-time -time 15". You will see that the CPU utilization history chart reaches its maximum within 15 seconds.

  • cordbg.exe - The Runtime debugger allows tool providers and application developers to find and fix errors in programs designed for the .NET Framework common runtime language . This tool uses the Debug API debugging to provide debugging services. Developers can study the code to learn how to use debugging services. Currently, you can only use Cordbg to debug managed code; There is no support for debugging unmanaged code.

  • CorFlags.exe - The CorFlags Conversion tool allows you to customize the CorFlags section of the portable executable image header. This is a utility used to modify certain header properties of .NET executables. Most often, it was used to change the architecture of the .NET DLL processor.

  • ctrpp.exe - The CTRPP tool is a pre-processor that parses and validates your manifest counts. The tool also generates the code that you use to provide counter data. You should use the generated code as a starting point when developing your provider, instead of trying to generate this code yourself.

  • disco.exe β€” The web service discovery tool detects the URLs of XML web services located on a web server and saves documents associated with each XML web service on a local drive.

  • DUMPBIN.exe is a utility that resets various aspects of an executable image or .obj file (import, export, header information, etc.). The Microsoft COFF binary file displays information about 32-bit binary files of the general file format (COFF). You can use DUMPBIN to view COFF object files, standard COFF object libraries, executable files, and dynamic link libraries (DLLs).

  • ECManGen.exe - The ECManGen tool uses a graphical interface that helps you create a manifest from without using XML tags.

  • fdbrowser.exe - Function Detection Browser is a utility that displays instances of functions on the local using the graphical user interface. Developers can use this tool to ensure that function instances and metadata available on the machine meet the expected results.

  • FUSLOGVW.exe - The assembly binding view window displays the details of failed assembly assemblies. This information will help you determine why the .NET Framework cannot find the assembly at run time. These failures are usually the result of an assembly deployed in the wrong location or inconsistencies in version numbers or cultures.

  • gacutil.exe - Registers an assembly to the Global Assembly Cache (GAC).

  • genmanifest.exe - Genmanifest is a command line program that creates a manifest.

  • graphedt.exe - GraphEdit is a visual tool for building and testing filter graphs. It is provided as an executable file with the DirectX SDK . With GraphEdit, you can quickly create and test filter graphs to make sure they function as you expect. You can even view the filter graph created by an application running in another process.

  • guidgen.exe - The Guidgen tool creates new globally unique identifiers ( GUIDs ). GUIDs are Microsoft's implementation of Universal Unique Identifiers ( UUIDs ). These are unique 128-bit values ​​used to uniquely identify elements.

  • ildasm.exe - Intermediate language disassembler. You can view your compiled code at isXPS.exe level - the isXPS Conformance tool checks the compliance of the XML Paper Specification (XPS) and Open Packaging Conventions (OPC) file.

  • lc.exe - The license compiler reads text files containing licensing information and creates a .licenses file that can be embedded into the shared language executable as a resource.

  • mage.exe - The manifest creation and editing tool is a command line tool that supports the creation and editing of application manifest and deployment. This can be run from batch scripts as well as from other Windows-based applications, including ASP.NET applications.

  • mageui.exe - supports the same functions as the Mage command-line tool, but with a Windows-based user interface (UI). With this tool, you can create, edit, and sign deployment manifests and applications.

  • make-shell.exe - You can continue to create a separate custom shell (or mini-shell)) using make-shell to include all the cmdlets and providers that you wrote. And actually, for packaging reasons, you can still do this. Custom shells allow you to customize the environment through startup / built-in scripts, files of custom types / formats and a separate authorization manager. Therefore, if you need a tightly controlled environment, you may want to stick with a special shell.

  • makecert.exe - a certificate creation tool generates X.509 certificates for testing purposes only. It creates a pair of public and private keys for digital signatures and saves them in a certificate file. This tool also associates a key pair with the specified publisher name and creates an X.509 certificate that associates the user specified name with the public part of the key pair.

  • Mdbg.exe - The NET Framework command-line debugger helps tool developers and application developers find and fix errors in programs designed for the .NET Framework . This tool uses the Debug Debug API to provide debugging services. Developers can study the code to learn how to use debugging services. Currently, you can use MDbg to debug only managed code; There is no support for debugging unmanaged code.

  • mgmtclassgen.exe - The Generated Typified Class Generator tool allows you to quickly generate an early ( WMI ) class for a managed Windows management class. The generated class makes it easy for you to write code to access an instance of the WMI class

  • midl.exe / midlc.exe - Given an IDL file that defines one or more COM interfaces and a type library, the MIDL compiler generates the files described in the following table as default output.

  • MsiCert.exe - MsiCert is a command line utility that can be used to populate the MsiDigitalSignature table and the MsiDigitalCertificate table with the digital signature information of the external cabinet file. The cabinet file must be digitally signed and indicated in the multimedia table. MsiCert uses subscriber certificate information from a digitally signed cabinet and creates and adds the MsiDigitalSignature and MsiDigitalCertificate tables to the database if they do not already exist.

  • mt.exe - Mt file is a tool that generates signed files and directories. Mt requires that the file specified in the manifest be in the same directory as the manifest. Mt generates hashes using the CryptoAPI implementation of the secure hash algorithm ( SHA-1 ). Hashes are inserted into the hexadecimal string in the manifest tags. The tool currently only generates SHA-1 hashes, although files in the manifest may use other hash schemes.

  • perflibmig.exe - Perlibv2 Migrator used to implement or transfer perflibv2 to the manifest file. The PerflibV2 interface is a set of methods that a client can use to list performance counter metadata and server performance counter values ​​for requests. The client can view all the meters installed in the system. After the client has decided which performance counters are of interest, he can open a request on the server and add the necessary counters. The client then requests these counters, after which the server returns the values ​​of the counters specified by the client. The client closes the request on the server as soon as it has requested counters for the required duration.

  • PermCalc.exe - a tool for determining the minimum set of grants is used to evaluate permissions that cause access to public assembly entry points. This tool is new in the .NET Framework version 2.0. It is intended for use by advanced users.

  • PEVerify.exe - The PEVerify tool helps developers who create the Microsoft Intermediate Language (MSIL) (such as compilers, script engine developers, etc.) to determine if their MSIL and associated metadata meet type safety requirements. Some compilers generate reliably safe code only if you avoid using certain language constructs. If you use such a compiler as a developer, you can verify that you have not compromised the security of your code. In this situation, you can run the PEVerify tool in your files to check MSIL and metadata .

  • ptconform.exe - checks the Print Ticket or Print Capabilities document for compliance with the Print Scheme. The Print Scheme provides an XML format for expressing and organizing a large set of properties that describe either the job format or the capabilities of the print queue in a hierarchically structured way. PrintSchema has well-defined elements of the public structure and public keywords. PTConform reads the XML document and verifies that each node is a valid element of the public structure. After testing for the validity of the structure element, this test checks to see if it identifies any open keyword element and verifies that the PrintSchema keyword matches.

  • pvk2pfx.exe is a tool used to create .pfx files from Signing certificates from an authorized certificate authority that will be used in applications.

  • ResGen.exe - Resource file generator converts text files (.txt or .restext) and XML-based resource format files (.resx) into plain language files> binary files (.resources) that can be embedded in the executable file or compiled into satellite assemblies.

  • sddlgen.exe - The Security Descriptor Definition Language (SDDL) defines the string format that the ConvertSecurityDescriptorToStringSecurityDescriptor and ConvertStringSecurityDescriptorToSecurityDescriptor Functions are used to describe the security descriptor as a text string. The language also defines string elements for describing information in the components of a security descriptor. I am going to give a little assumption here and say that this tool is a generator for this purpose. For more information on SDDL, please check the link.

  • SecUtil.exe - this tool extracts strong name information or a public key for an X.509 certificate from the assembly and converts this information into a format that can be included in the code.

  • SetReg.exe - The "Install Registry" tool allows you to change the registry settings for public-key cryptography. These keys, called software publishing keys, control the behavior of the certificate validation process. After Setreg completes the requested action, it displays the current values ​​of the software publishing status keys.

  • sgen.exe - The XML serializer generator creates an XML serialization assembly for the types in the specified to improve the performance of the XmlSerializer when it serializes or deserializes objects of the specified types.

  • signtool.exe - Icon Tool is a command line tool that digitally signs files, verifies file signatures or time stamp files.

  • sn.exe is a StrongName tool. Allowing you to generate strong names for yours as well as for signatures.

  • SoapSuds.exe - The Soapsuds tool helps you compile client applications that communicate with XML web services using a method called deletion. Soapsuds performs the following functions: it creates XML schemas that describe services that are displayed in a common execution language ; It creates runtime assemblies to access services that are described by XML schemas. The schema definition can be a local file or it can be dynamically downloaded from the Internet.

  • SqlMetal.exe - it creates a DBML file from the database schema for LINQ to SQL , and is used by Visual Studio for this. You use it to update your automatically created context classes every time you change the schema.

  • StoreAdm.exe - the isolated storage tool displays or deletes all existing computer storages for the current user.

  • SvcConfigEditor.exe - The Windows Communication Foundation (WCF) Service Configuration Editor allows administrators and developers to create and modify configuration settings for WCF services using a graphical user interface. With this tool, you can manage WCF bindings, behaviors, services, and diagnostics settings without directly editing the XML configuration files.

  • SvcTraceViewer.exe - The Windows Communication Foundation (WCF) trace viewer helps analyze the diagnosis of traces that are generated by WCF. Service Trace Viewer provides the ability to easily combine, view, and filter trace messages in a log so you can diagnose, repair, and troubleshoot WCF service issues.

  • SvcUtil.exe - ServiceModel metadata The utility is used to create service model code from metadata documents and metadata documents from service model code.

  • TB3x.exe - TB3x.exe is a TAPI , but now it is deprecated from the Windows SDK. The following was said on Wikipedia, giving a hint about file obsolescence: β€œOne of the very noticeable problems with TAPI 3.x is the lack of managed code support (.NET environment). As described in Microsoft KB article 841712, Microsoft does not currently plan to support TAPI 3.x directly from the .NET programming languages.

  • tcpanalyzer.exe - this tool displays a constantly updated list of all network connections to and from your machine. It allows you to reset specific connection and logging information for that connection. It gives you the information you need to bind network-related delays or unexpected high traffic that can slow down your network connection.

  • TlbExp.exe - The type library library generates a type library that describes the types defined in the general runtime assembly.

  • TlbImp.exe - Import a type library, allowing items in COM to be visible to the CLR .

  • tracefmt.exe - Tracefmt is a command line tool that formats and displays trace messages from an event trace log file (.etl) or real-time trace session. Tracefmt can display messages in a command window or save them in a text file. Tracefmt uses the formatting instructions in a trace message file (TMF) file to convert binary trace messages to a human-friendly format. You can provide a TMF file or provide an image file for a trace provider and create a Tracefmt TMF file.

  • tracepdb.exe - Tracepdb is a command line tool that creates a trace format file (.tmf) by extracting trace formatting instructions from a full or closed PDB character for a trace provider that uses WPP software trace macros.

  • tracewpp.exe - WPP software trace in kernel-mode drivers complements and improves WMI event tracing by adding conventions and mechanisms to simplify driver tracking. This is an effective mechanism for user-mode applications and kernel-mode drivers for recording binary messages in real time. Logged messages can subsequently be converted to a human readable trace of a driver operation.

  • validatesd.exe - Used to ensure that the service description is correct. It seems to be intended for use with the IUPnPRegistrar :: RegisterDevice Method .

  • VirtualSideShow.exe - The software development kit for Microsoft Windows includes Device Simulator 3.0 for Windows SideShow.This simulator is a program that simulates a Windows SideShow-compatible device based on Microsoft.NET Micro Framework firmware, so gadget developers for SideShow can test their gadgets without physical equipment.

  • WCA.exe - A workflow communication command line utility is used to generate code files for the strictly related operation HandleExternalEventActivity and CallExternalMethodActivity activity derived classes from an input assembly that contains one or more ExternalDataExchangeService interfaces. For each method and event on each interface in the assembly, an action is created with strongly typed properties that correspond to the parameters of the method / event. These strictly related actions enhance the design experience through strong typing and provide a small increase in productivity by eliminating the use of reflection.

  • WFC.exe - A workflow command line compiler is used to compile both workflows and actions. It requires markup of the workflow (.xoml) and C # or Visual Basic source files, checks workflows or actions and generates assemblies or executables.

  • WiLogUtl.exe - Wilogutl helps analyze log files from a Windows Installer installation and it displays suggested solutions for errors found in the log file.

  • WindowsSideShowVirtualDevice.exe is a device driver emulator for Windows SideShow devices (based on Vista), Windows Vista supports the ability to interact with one or more auxiliary display devices. These auxiliary display devices may have various types and sizes with different capabilities. Many of these devices have not yet been manufactured, but should be available soon.

  • WinRes.exe - The Windows Forms Resource Editor, Winres, is a visual layout tool that helps localization professionals localize the Windows Forms User Interface (UI) resources used by forms. The .resx or .resources files that are used as input for Winres can be created using a visual design environment such as Microsoft Visual Studio.

  • wsdl.exe - Utility for generating code for xml web service clients and xml web services using ASP.NET from WSDL contract files, XSD schemas, and .discomap discovery documents. This tool can be used in conjunction with disco.exe

  • XamlPad.exe is a program for editing XAML files for the WPF platform. (3.5)

  • xsd.exe - An XML schema definition tool generates XML schemas or common language runtime classes from XDR, XML, and XSD, or from classes in a runtime assembly.

  • xsltc.exe - The XSLT compiler compiles XSLT stylesheets and generates an assembly. Then the compiled stylesheet can be passed directly to the XslCompiledTransform.Load(Type) method. You cannot generate signed assemblies using xsltc.

+41
Feb 01 '10 at 13:35
source share

See the MSDN pages for the SDK tools. It contains a complete list of tools that come with the SDK.NET Framework, and an explanation of what each tool does.

+5
Sep 01 '09 at 14:10
source share

wsdl.exe:

A utility for creating code for xml web service clients and xml web services using ASP.NET from WSDL contract files, XSD schemas, and .discomap discovery documents. This tool can be used in conjunction with disco.exe.

Right from the horse’s ear at the Visual Studio Command Prompt.

ildasm.exe:

Intermediate dismantling of the tongue. You can view your compiled code at the MSIL level with this tool.

gacutil.exe:

Registers an assembly in the global assembly cache (GAC).

resgen.exe:

.NET Resource Generator. Converts files from one resource format to another. If filename is not specified, inputFile.resources will be used.

Again, right from the Visual Studio command prompt.

What I recommend doing is simply enter the name of the executable at the Visual Studio command prompt. Many tools will display a help screen when you do not enter any parameters. This will give you a brief description of use.

+2
Sep 01 '09 at 14:56
source share

SQLMetal.exe I recently had a relationship. It creates a DBML file from the database schema for LINQ to SQL and, as far as I know, it is used by Visual Studio.

You use it to update automatically created context classes every time you change the schema. The link I gave probably tells you everything that is already there.

+2
01 Sept. '09 at 17:03
source share

TB3x.exe is the TAPI browser - but it is now not recommended.

"TAPI Browser (Tb3x.Exe) is deprecated and removed from the Windows SDK

Tb3x.exe is deprecated and removed from the Windows SDK. There is no workaround on this issue. "

+2
Sep 06 '09 at 19:27
source share

Not a complete answer for sddlgen.exe , but SDDL = security descriptor definition language. Further information on SDDL can be found at http://blogs.dirteam.com/blogs/jorge/archive/2008/03/26/parsing-sddl-strings.aspx

As for sddlgen.exe, it looks like it will be related to their creation.

+1
Sep 06 '09 at 19:35
source share



All Articles