开发者

Can old App_Web.xxxx.dlls affect site behavior?

开发者 https://www.devze.com 2023-04-10 05:22 出处:网络
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 deployi

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!


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消