ClickOnce update: just update the changed DLL and not all of them
Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=662
Printed Date: 11-Jun-2026 at 9:18am
Topic: ClickOnce update: just update the changed DLL and not all of them
Posted By: Dominique
Subject: ClickOnce update: just update the changed DLL and not all of them
Date Posted: 23-Jan-2008 at 12:33am
Hi,
This is actually more a clickOnce question but I guess someone here faced the same issue, so I try my luck. :)
A customer installing my client for the first time will download a bunch of assemblies, Ideblade dll's, the model dll, the GUI dll and some more third parts dlls.
When I do a small fix it is usually in the model or in the UI which are pretty small assemblies. What I wish is that the customer just need to get the updated dll when the app is updating itself and not download the unchanged dlls.
Do you know a way to achieve this with ClickOnce deployement? Any pointer to a solution would be appreciate.
------------- Dominique
|
Replies:
Posted By: pkarsh
Date Posted: 24-Jan-2008 at 5:05pm
According to the book "Smart Client Deployment with ClickOnce" by Brian Noyes "ClickOnce compares the hash value for each application file in both the client manifest and the server manifest to decide whether it needs to download the file or not." (p. 102). In other words, only the files that have changed should get updated. As I am not an expert on ClickOnce I don't know how the hash values get changed but if you have reason to believe that files are being updated that shouldn't be then perhaps you could take a look at that.
|
Posted By: Dominique
Date Posted: 24-Jan-2008 at 11:28pm
Hi pkarsh,
Thank you for your pointer, I will check it out. :-)
And yes the all app' get dowloaded for any update, maybe it has somtething to do with the publishing prosess.
------------- Dominique
|
|