Clearing the download cache

fresnobob

New member
Joined
Aug 29, 2009
Messages
1
Programming Experience
5-10
I am an asp.net developer but a newbie to winforms

Hi I have designed a winform usercontrol to do some drag and drop functionality and interact with Outlook on the clients machine (it's an intranet). It all works but when I do a new version of my control it doesn't work in the browser until I use gacutil /cdl to clear the download cache. This isn't such a problem in development but will be when it goes live. I thought incrementing the version would get around this but I am unsure I am doing it right. Can anyone point me in the right direction. If versioning is the way forward then how is best to do this in 2008 or do I need some other mechanism to clear the cache.
 
When you deploy a new version you should probably leave the assembly version the same but change the file version. That way any applications referencing the assembly will see the new file as the same assembly. You would only change the assembly version if the actual interface changes, in which case it is genuinely a new assembly.
 
Back
Top