-
Notifications
You must be signed in to change notification settings - Fork 63
ASP.NET Compiler
You can run the ASP.NET Compiler on your web projects.
desc "Compile the website"
aspnetcompiler :compile => [:build] do |cmd|
cmd.physical_path = "path/to/webapp"
cmd.target_path = "path/to/target"
cmd.updateable
cmd.force
endSpecifies the physical path of the application to be compiled. If this parameter is missing, the IIS metabase is used to locate the application.
physical_path = "path/to/webapp"The virtual path of the application to be compiled. If the Physical Path 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.
virtual_path = "/foo"Specifies the physical path to which the application is compiled. If not specified, the application is precompiled in-place.
target_path = "path/to/target"The precompiled application will be updateable.
updateableOverwrite the target directory if it already exists, existing contents are lost.
forceThe application will be built clean. Any previously compiled components will be recompiled.
cleanThe strong-name assembly will allow partially trusted callers.
debugThe assembly is not fully signed when created.
delay_signThe compiled assemblies will be given fixed names.
fixed_namesHide the startup banner.
no_logo(none)