views:

60

answers:

2

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 command 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.

A: 

take a look at batched compilation (its configurable in the web.config)

Tim Mahy
A: 

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

Raj Kaimal