-
Notifications
You must be signed in to change notification settings - Fork 71
ASP.Net Compiler Task
You can now run the ASP.NET Compiler on your web projects.
Invoked command AspNetCompiler.exe [options] <target_path>
aspnetcompiler :precompile do |c|
c.physical_path = "src/MyWebProject.WebApplication"
c.target_path = "bin/MyWebProject.WebApplication"
c.updateable = true
c.force = true
end
Switches to the compiler.
Default: nil
Specifies the physical path of the application to be compiled. If this parameter is missing, the IIS metabase is used to locate the application. This parameter corresponds to the -p switch on aspnet_compiler.exe.
Default: nil
Specifies the physical path to which the application is compiled. If not specified, the application is precompiled in-place.
Default: false
If this parameter is true, the precompiled application will be updateable. The default value is false.
Default: false
If this parameter is true, the task will overwrite the target directory if it already exists. Existing contents are lost. The default value is false.
Default: false
If this parameter is true, the precompiled application will be built clean. Any previously compiled components will be recompiled. The default value is false.
Default: false
If this parameter is true, the strong-name assembly will allow partially trusted callers.
Default: false
If this parameter is true, the assembly is not fully signed when created.
Default: false
If this parameter is true, the compiled assemblies will be given fixed names.
Default: '/'
The virtual path of the application to be compiled. If PhysicalPath specified, the physical path is used to locate the application. Otherwise, the IIS metabase is used, and the application is assumed to be in the default site.