开发者

asp.net 4 precompile utility and classic asp files

We have a huge site that still has over 800 classic asp pages. While 开发者_StackOverflow中文版working on the upgrade of the site to 4.0 I cam across an issue where asp.net precompile utility aspnet_compiler throws millions of errors in those classic asp pages, especially with the include directives. (mainly constants and functions are defined in the global files not visible in the included file itself)

Is there a way to tell precompile utility to ignore classic asp and inc files?

Is there any other way other then converting all asp pages to make it precompile?


You could delete all of the .asp files and see if anyone notices.

Just kidding.

Instead, how about making a copy of the site with no .asp files, and precompile that. Or temporarily delete the .asp files, precompile, then move them back.

But, BTW, welcome to the joy of using obsolete technologies. It just keeps getting worse from here on; it won't get any better.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜