Tuesday, March 13, 2012

so much App_Web_xxxxxxx.dll

Hello

I wonder why I have so much App_Web_xxxxx.dll in the bin folder of my application on the server ?

from where it comes ?


I have about 58 times files like this ...

Can it cause me problem ?

Thx you in advance


Hi,

This is compiled code for your code behind files.


My mistake, the admin instead of deleting everything was just replacing the files

a new name app_web is each time created, he jus had to delete the old ones :D

Sorry



Hi,

You're getting so many assemblies with the prefix App_Web_, is because in ASP.NET 2.0 website project, if you deploy the whole project and make it dynamically compiled at runtime, it will generate these assemblies automatically.

Each time you modify the code, new assemblies are generated. This is unavoidable, because the website relies on these assemblies for running.

You can reference the following article for how to remove the useless .dll files.

http://blogs.msdn.com/sayanghosh/archive/2007/03/07/solution-to-app-web-dll-in-asp-net-2-0-website-web-deployment-projects.aspx

Hope this helps.


Hi,

If you have 58 pages with cs code behind, the program will generate 58 App_Web_xxxxx.dll

0 comments:

Post a Comment