We have a really really big .net app. Currently, we deploy it and run a script hitting thousands of pages to do the pre-compile or the pages run really slowly. Rather than running this warm script on each server, we would love to pre-compile the entire web application.
I am running C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_compiler -v / -p E:\somewebapp -fixednames E:\new
The problem is that this giant directory has some pages which may not be used anymore and give errors. These errors basically look like compile errors but they completely stop the pre-compile process. So after a couple of hours, I get an error and delete the file and run it again. I did this many times. Note this directory is 2 million files, so sorting through it, refactoring it isn't really an option.
Is there a way to run the aspnet_compiler and continue on errors?
Aucun commentaire:
Enregistrer un commentaire