Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can old App_Web.xxxx.dlls affect site behavior?

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!

like image 704
msergey Avatar asked Nov 30 '25 02:11

msergey


1 Answers

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.

like image 78
Paddy Avatar answered Dec 02 '25 16:12

Paddy