本文介绍了如何强制我ASP.net 2.0应用程序重新编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ASP.net 2.0应用程序,我已经做了一些修改的源文件(CS文件)。我上传的信念,它会自动重新编译的变化。我也有my_app应用/ bin中的编译DLL。我检查,发现它并没有重新编译。请理解我是新来这个。

I have a ASP.net 2.0 app and I have made some changes the the source file ( cs files ). I uploaded the changes with the belief that it would auto-recompile. I also have the compiled dll in MY_APP/bin. I checked it and noticed that it did not recompile. Please understand I am new to this.

推荐答案

我的#1的方式做到这一点,添加空格在Web配置文件的顶部,XML声明标记之后。

my #1 way to do this, add white space to the top of the web config file, after the xml declaration tag.

它强制重新缓存和重新编译的节点。我们甚至有一个页面深处称为Flush.aspx管理员认为它会为我们的。

It forces the node to re-cache and recompile. We even have a page deep in the admin called Flush.aspx that does it for us.

这篇关于如何强制我ASP.net 2.0应用程序重新编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 15:53