RUN->CMD->
1)%windir%\Microsoft.NET\Framework\v4.0.30319
2)C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>aspnet_compiler -p F:\TestApp -v
/ F:\Publish\Test
eg:
1)C:\Documents and Settings\pravin>cd %windir%\Microsoft.NET\Framework\v4.0.30319
2)C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>aspnet_compiler -p F:\TestApp -v
/ F:\Publish\Test
Utility to precompile an ASP.NET application
Copyright (C) Microsoft Corporation. All rights reserved.
Get Full Documentation from here.
Download the PDF from here.
1)%windir%\Microsoft.NET\Framework\v4.0.30319
2)C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>aspnet_compiler -p F:\TestApp -v
/ F:\Publish\Test
eg:
1)C:\Documents and Settings\pravin>cd %windir%\Microsoft.NET\Framework\v4.0.30319
2)C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>aspnet_compiler -p F:\TestApp -v
/ F:\Publish\Test
Utility to precompile an ASP.NET application
Copyright (C) Microsoft Corporation. All rights reserved.
To precompile an ASP.NET Web site for deployment
- Open a command window and navigate to the folder containing the .NET Framework.
The .NET Framework is installed in the following location.%windir%\Microsoft.NET\Framework\version
- Run the aspnet_compiler command by typing the following at a command prompt, specifying the source as either a virtual path or physical path and the target folder for the compiled Web site.
aspnet_compiler -v virtualPath targetPath
aspnet_compiler -p physicalOrRelativePath -v / targetPath
The targetPath parameter is a physical path to the destination directory
To precompile an ASP.NET Web site for deployment and update
- Open a command window and navigate to the folder containing the .NET Framework.
The .NET Framework is installed in the following location.%windir%\Microsoft.NET\Framework\version
- Run the aspnet_compiler command by typing the following at a command prompt, specifying the source as either a virtual path or physical path, the target folder for the compiled Web site, and the -u switch indicating you want to compile the site for deployment and update.
aspnet_compiler -p physicalOrRelativePath -v / targetPath -u
Download the PDF from here.