开发者

compile a single ASP.NET (.aspx) page from the command line

开发者 https://www.devze.com 2022-12-26 12:55 出处:网络
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开

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

0

精彩评论

暂无评论...
验证码 换一张
取 消