asp.net - Why is aspnet_compiler.exe so slow (and can it be made any faster)? -


during our build process run aspnet_compiler.exe against our websites make sure late-bound stuff in asp.net/mvc builds (i know nothing asp.net assured necessary prevent finding failures @ runtime).

our sites large in size, few hundred pages/views/controls/etc. time taken seems excessive in 10-15 minute range (for reference, longer takes entire solution approx 40 projects compile, , we're pre-compiling 2 website projects).

i doubt hardware issue i'm running on latest quad core intel chip, 4gb ram , wd velociraptor 10,000rpm hard disk. , part of what's odd exe doesn't seem using cpu (1-5%) , doesn't seem doing awful lot of i/o either.

so... known issue? why slow? , there way speed up?

note: clarify couple of things people have answered about, not talking compilation of code within visual studio. we're using web application projects already, , speed of compilation of not issue. problem pre-compilation of site after these projects have been compiled (see msdn page more details) part of dev build script. performing in-place pre-compilation, not copying files target directory.

  1. compiler should generate second code-behind file every .aspx page, check
  2. during compilation, aspnet_compiler.exe copy of web site files output directory, including css, js , images.

you'll better compilation times using web application project instead of web site model.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -