Can old App_Web.xxxx.dlls affect site behavior?

江枫思渺然 提交于 2019-12-10 18:48:13

问题


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?

Thanks!


回答1:


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.



来源:https://stackoverflow.com/questions/7644965/can-old-app-web-xxxx-dlls-affect-site-behavior

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!