Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Click once applications sharing dlls
 

Click once applications sharing dlls

Hi,

is it possible that many click once applications share a dll?
With this I pretend that when I change this dll, all the click once applications detect that the dll has changed and download it.

Thanks.
Manuel5  Thursday, August 30, 2007 7:58 AM

Hi, Manuel5,

Based on my understanding, what you want to do is when a referenced dll is changed, all related ClickOnce applications should update automatically, don't you?

However, in my point of view, if you only changed adllin a project, itwill not trigger the ClickOnce applications to be updated.In fact, whena ClickOnce client is starting up, it will check theApplication Manifest on server to see if a newversion is released. That means thatall the clientswill notstart to updateuntil you republish all the related applications. So the answer for your question is no.

Another practical workaround is you can code your own update method in your application and let it to check the new version dll regularly. But that could be a little complex.

Hope this helps,

Regards

Yu Guo â€?MSFT  Wednesday, September 05, 2007 7:20 AM

Hi, Manuel5,

Based on my understanding, what you want to do is when a referenced dll is changed, all related ClickOnce applications should update automatically, don't you?

However, in my point of view, if you only changed adllin a project, itwill not trigger the ClickOnce applications to be updated.In fact, whena ClickOnce client is starting up, it will check theApplication Manifest on server to see if a newversion is released. That means thatall the clientswill notstart to updateuntil you republish all the related applications. So the answer for your question is no.

Another practical workaround is you can code your own update method in your application and let it to check the new version dll regularly. But that could be a little complex.

Hope this helps,

Regards

Yu Guo â€?MSFT  Wednesday, September 05, 2007 7:20 AM
Ok Yu Guo, thanks.
Manuel5  Thursday, September 06, 2007 3:37 PM

You can use google to search for other answers

Custom Search

More Threads

• loose focus on vista
• Creating Windows App. Installer
• Setup file creation - Warnings
• .NET framework installation detection
• Merge Module not registering dlls in GAC
• Click Once Deployment Scheduling
• SQLCE Problem in executingnon queries during installation
• Spaces Foul Up Registry Key Launch Conditions???
• How can add Enviromental Variables in MSI Installer package?
• Setup Project Custom Action Problem