Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Section D.1. Assembly Generation Utility (al.exe)

D.1. Assembly Generation Utility (al.exe)

al.exe is generally used to generate assemblies with manifests. The following table shows some of the common usages of the Assembly Generation Utility.

Option Description
/flags:flags Specifies a value for the Flags field in the assembly.
  • 0x0000: side-by-side compatible.

  • 0x0010: cannot execute with other versions in the same application domain.

  • 0x0020: cannot execute with other versions in the same process.

  • 0x0030: cannot execute with other versions on the same computer.

/help or /? Use to get help for this command.
/keyfile:keyfilename or /keyf:keyfilename Use to create shared components. keyfilename contains a key pair generated with the Shared Name Utility (sn.exe). The compiler inserts the pub lic key into the assembly manifest and then signs the assembly with the private key.
/keyname:keycontainer or /keyn:keycontainer Use to create shared components. keycontainer contains a key pair generated and installed into a key container with the Shared Name Utility (sn.exe). The compiler inserts the public key into the assembly manifest and then signs the assembly with the private key.
/main:entrymethod Specifies the entry-point method name when converting a module to an executable.
/out:filename Specifies the output filename.
/target:lib|exe|win or /t:lib|exe|win Specifies the file format of the output file (lib for library, exe for console executable, and win for win32 executable). The default setting is lib.
/version:major.minor.revision.build Specifies version information for the assembly. The default value is 0.



  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint