Introduction to .NET Framework Tools
page 4 of 15
by Suresh Kumar Goudampally
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 68724/ 140

Al.exe - An Insight

The Assembly linker tool generates a file with an assembly manifest from one or files that are either modules or resource files.

The general syntax of using tool is as below:

Al Source options

Here are the some of the commands of the al.exe and their description in detail.

            Option

         Description

 

  /embed[resource file name]

 

 

This command embeds the file into an image and copies the contents of the file into the portable executable file.

 

The output for the resource file will be a  assembly which is called satellite assembly.

 

 

  /link [resource file name]

 

 

The file name can be in any of the format and here the file is not copied. This option will generate a native dll and can be installed in the global assembly cache.

 

  /bugreport : file name

 

 

Creates a bug report in the specified path if there are any bugs.

 

/copy[right]:text

 

 

This is used to specify the copyright field in the assembly.

 /c:text

This option is used to specify the culture for the assembly.

 

 

/delay[sign][+][-]

 

 

Specifies whether assembly can should be fully signed or partially signed. By default it is fully signed.

 

 /descr:text

 

Specifies the description filed in the assembly.

 

 /fileversion:version name

 

 

 

This option is used to specify the file version for the assembly.

 /help

This displays all the options available with the tool.

 

/key:filename

 

 

It specifies the key pair value in a file to sign the assembly.

/main:methodname

 

 

Specifies the fully qualified name (class.method) of the method to use as an entry point when converting a module to an executable file.

/out:filename

Specifies the name of the file produced by Al.exe. This is a required option.

Examples:

Example 1:   Generating an satellite assembly using the resource file

Al /link:"c:\inetpub\wwwroot\Samples\Exensys.Resources.resx","c:\inetpub\wwwroot\Samples\Exensys.Resources.resx" /out:Testsss.resources.dll /c:en-US.


View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-26 9:44:41 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search