I have a large click-once application that uses a 3rd party software "DevExpress". The DevExpress DLLs comprise of 95% of the size of my application. They never change but every time I deploy an update I need to upload them to my FTP server, this take a while to do. Is there a way to have a separate package that is linked this my click-once application for the DevExpress Files ?
Note: On the client side, click-once manages this efficiently and doesn't download files that haven't changed.
Thanks
You can localize the assemblies, which is sort of like putting them in the GAC, only they will be buried into the %USERPROFILE% folder (with other ClickOnce assemblies).
You do this by declaring them in your App.Config file, and then within the project set each of the assemblies to "Exclude." Here is a snippet of what your App.Config will need to look like:
The first time the click-once deployment runs, it will check if the files are localized. If so, it will use them. If not, it will download them once (and only once).
Advantages:
Disadvantages:
This also works with a UNC path -- you don't need a Web reference if your users are all internal.