-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: Swapnil_B1
Message 1 in Discussion

  
ASP.NET Compilation Tool (Aspnet_compiler.exe)  
The ASP.NET Compilation tool (Aspnet_compiler.exe) enables you to compile an 
ASP.NET Web application, either in place or for deployment to a target location 
such as a production server. In-place compilation helps application performance 
because end users do not encounter a delay on the first request to the 
application while the application is compiled.  
Compilation for deployment can be performed in one of two ways: one that 
removes all source files, such as code-behind and markup files, or one that 
retains the markup files.  
aspnet_compiler [-?] [-m metabasePath | -v virtualPath [-p physicalPath]] [[-u] 
[-f] [-d] [-fixednames] targetDir] [-c] [-errorstack] [-nologo] [[-keyfile file 
| -keycontainer container ] [-aptca] [-delaysign]]  
-m metabasePath       Specifies the full IIS metabase path of the application 
to be compiled. The IIS metabase is a hierarchical information store that is 
used to configure IIS. For example, the metabase path to the default IIS Web 
site is LM/W3SVC/1/ROOT.  
This option cannot be combined with the -v or -p options.  
-v virtualPath Specifies the virtual path of the application to be compiled.  
If -p is also specified, the value of the accompanying physicalPath parameter 
is used to locate the application to be compiled. Otherwise, the IIS metabase 
is used, and the tool assumes that the source files are located under the 
default Web site (specified in the LM/W3SVC/1/ROOT metabase node).  
This option cannot be combined with the -m option.  
-p physicalPath           Specifies the full network path or local disk path of 
the root directory that contains the application to be compiled. If -p is not 
specified, the IIS metabase is used to find the directory.  
This option must be combined with the -v option, and cannot be combined with 
the -m option.  
-u         Specifies that Aspnet_compiler.exe should create a precompiled 
application that allows subsequent updates of contents such as .aspx pages.  
If this option is omitted, the resulting application contains only compiled 
files and cannot be updated on the deployment server. You can update the 
application only by changing the source markup files and recompiling.  
The targetDir parameter must be included.  
-f         Specifies that the tool should overwrite existing files in the 
targetDir directory and its subdirectories.  
-d         Overrides settings defined in the application's source configuration 
files to force debug information to be included in the compiled application. 
Otherwise, no debug output is emitted.  
You cannot use the -d option for in-place compilation; in-place compilation 
honors configuration settings for debugging options.  
targetDir          The network path or local disk path to the root directory 
that will contain the compiled application. If the targetDir parameter is not 
included, the application is compiled in place.  
-c         Specifies that the application to be compiled should be fully 
rebuilt. Components that have already been compiled are compiled again. If this 
option is omitted, the tool builds only those parts of the application that 
have been modified since compilation was last performed.  
-errorstack     Specifies that the tool should include stack trace information 
if it fails to compile the application.  
-keyfile file     Specifies that the AssemblyKeyFileAttribute, which indicates 
the name of the file containing the public/private key pair that is used to 
generate a strong name, should be applied to the compiled assembly.  
This option must be combined with the -aptca option. If the attribute is 
already applied to the assembly in code files, Aspnet_compiler.exe throws an 
exception.  
-keycontainer container         Specifies that the AssemblyKeyNameAttribute, 
which indicates the name of the container for the public/private key pair that 
is used to generate a strong name, should be applied to the compiled assembly.  
This option must be combined with the -aptca option. If the attribute is 
already applied to the assembly in code files, Aspnet_compiler.exe throws an 
exception.  
-aptca  Specifies that the AllowPartiallyTrustedCallersAttribute, which allows 
partially trusted callers access to an assembly, should be applied to the 
strongly named assembly that Aspnet_compiler.exe generates.  
This option must be combined with the -keyfile or -keycontainer option. If the 
attribute is already applied to the assembly in code files, Aspnet_compiler.exe 
throws an exception.  
-delaysign       Specifies that the AssemblyDelaySignAttribute, which indicates 
that an assembly should be signed only with the public key token rather than 
with the public/private key pair, should be applied to the generated assembly.  
This option must be combined with the -keyfile or -keycontainer option. If the 
attribute is already applied to the assembly in code files, Aspnet_compiler.exe 
throws an exception.  
When you use the -delaysign option, the code produced by Aspnet_compilier.exe 
can run before the code is signed. You must ensure that the code is not 
vulnerable to malicious users before signing is completed.  
-fixednames    Specifies that one assembly should be generated for each page in 
the application. Each assembly is named with the virtual path of the original 
page unless the name would exceed the operating system limit for file names, in 
which case a hash is generated and used for the assembly name.  
You cannot use the -fixednames option for in-place compilation; in-place 
compilation honors configuration settings for compilation batch mode.  
-nologo            Suppresses the copyright message.  
-?         Displays command syntax and options for the tool.  
Swapnil (Swaps)  
http://swapsnet.spaces.live.com/

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to