asp.net 4 precompile实用和经典的ASP文件 [英] asp.net 4 precompile utility and classic asp files

查看:226
本文介绍了asp.net 4 precompile实用和经典的ASP文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有仍然有超过800个经典的ASP页面巨大的网站。而在网站的升级工作,4.0我凸轮跨在那里asp.net precompile实用aspnet_compiler抛出数以百万计的错误在那些经典的ASP页面的一个问题,尤其是与include指令。 (主要是常量和功能在全局文件中定义在包含文件本身不可见)

We have a huge site that still has over 800 classic asp pages. While 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)

有没有办法告诉precompile实用忽略传统的ASP和INC文件?

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

是否有其它任何其他方式然后将所有的ASP页面,使其precompile?

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

推荐答案

您可以删除所有.asp文件,看看是否有人注意到。

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

只是开个玩笑。

相反,如何使网站的副本没有.asp文件,并且该pcompile $ P $。或暂时删除.asp文件,precompile,然后将它们放回。

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.

这篇关于asp.net 4 precompile实用和经典的ASP文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆