I have a Perl script that calls aspnet_compiler.exe to compile a large ASP.NET website. The problem is that it takes very long to run. Is there any way to compile just a single .aspx file from the comm开发者_StackOverflow社区and line? (I think that would suit the needs of my script) It seems that all aspnet_compiler.exe can do is compile at a directory level.
take a look at batched compilation (its configurable in the web.config)
Any particular reason you are using Perl for this? Have you looked at MSBUILD?
http://www.asp.net/learn/3.5-videos/video-394.aspx
精彩评论