I'm experimenting with ClientBuildManager.PrecompileApplication in order to force compiling of my ASP.NET site.
I've added a ClientBuildManagerCallback and trace all calls to ReportProgress()
method. Clearly the precompilation will traverse Content
and some other subfolders of the site where I have no views and so nothing to precompile, so going into those directories is a waste of time.
Is there a way to exclude specific folders from precompilation?