Pre-compiling
Posted: March 10th, 2007, 12:18 pm
Where can I find documentation on how to pre-compile scripts for use with ASP.NET? I've compiled my scripts to a WebPages.dll assembly using the compiler. However the LoadPrecompiledAssemblyNoLock() method fails complaining that the assembly is not marked with a ScriptAttribute and so cannot be watched (which is correct, I'm not interested in watching if the scripts are pre-compiled).
Here's my command line:
phpc /target:web /debug- /config:Web.config /pure- /recurse:server
('server' is the folder containing the PHP scripts)
I'm using the same config file for compilation that is used successfully to run the application when not pre-compiled.
Thanks
Here's my command line:
phpc /target:web /debug- /config:Web.config /pure- /recurse:server
('server' is the folder containing the PHP scripts)
I'm using the same config file for compilation that is used successfully to run the application when not pre-compiled.
Thanks