老App_Web.xxxx.dlls会影响网站的行为吗?行为、网站、App_Web、xxxx

2023-09-05 01:23:40 作者:旧颜已不复当年

我的ASP.NET Web站点项目部署的pcompiled服务器$ P $。经过部署bin文件夹中包含多个App_Web.xxx.dll文件。我知道我可以在部署新版本之前删除旧文件,但如果我不这样做,可以将这些旧文件在某种程度上影响到网站的行为呢? ASP.NET如何发现我的最后一个版本页面已编译App_Web_aaaaa.dll和App_Web_bbbbb.dll包含旧版本?

I have ASP.NET Web Site project that deploys as precompiled to server. After deploy bin folder contains multiple App_Web.xxx.dll files. I know that I can delete old files before deploying new version but if I don't, can these old files somehow affect web site behavior? How ASP.NET finds that my last version page had compiled to App_Web_aaaaa.dll and App_Web_bbbbb.dll contains old version?

谢谢!

推荐答案

简短的回答,是的,它可以,因为你可能会风与命名空间冲突/多个声明是相同的。这只是安全删除旧的部署新的之前。

Short answer, yes it can, as you may wind up with namespace conflicts/multiple declarations that are the same. It's just safer to delete the old ones prior to deploying the new ones.