我们有一个巨大的网站,仍有超过800个经典的ASP页面。在将网站升级到4.0 i CAM的同时,横跨ASP.NET precompile实用程序aspnet_compiler在这些经典ASP页面中抛出数百万错误,尤其是包含指令。(主要是常量和函数在包含的文件本身不可见的全局文件中定义)

有没有办法告诉预先编译的实用程序忽略Classic ASP和INC文件?

还有其他方式,然后转换所有ASP页面,使其预编译?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top