I'm publishing a ClickOnce application that has a few dependencies in the form of DLLs. When I publish the initial version 0.0.1
all the dependencies are copied into the deployment folder as I would expect.
If I make an update and publish version 0.0.2
all of the same dependencies, which are unchanged and have the same file hash, are copied into a second subfolder within the deployment folder.
The folder structure looks like this:
deployment/
MyApplication.application
setup.exe
Application Files/
MyApplication_1_0_0_1/
Dll_A.dll - Hash: 0x111111111111111
Dll_B.dll - Hash: 0x222222222222222
MyApplication_1_0_0_2/
Dll_A.dll - Hash: 0x111111111111111
Dll_B.dll - Hash: 0x222222222222222
Is there any way to only have one copy of Dll_A.dll/Dll_B.dll when they are the same file and only have a new copy if they change?
I'm referring to the size of the directory on the developer's end. Not the size of the download and cache that clients have as I understand ClickOnce already takes care to minimize that.