So, my application depends on a large number of small files. The actual number is around 90,000. Now I use a component that needs access to these files, but the only way it accepts them is to use a URI.
So far, I just added a directory containing all the files to the debug folder when I developed the application. However, I must now consider deployment. What are my options for including all of these files in my deployment?
So far, I have come up with a couple of different solutions, none of which I have been able to fully implement. At first it was easy to add all the files to the installer, which would then copy them to their places. It is theoretically, at least, work, but it would make the installation of the installer (the standard MSI installer generated with VS) an absolute hell.
The next option I came across was to pin them into a single file and add this as part of the installer, and then unzip them using a special action. The standard libraries do not seem to support complex zip files, which makes this option quite complicated.
Finally, I realized that I could create a separate project and add all the files as resources in this project. I do not know how URIs work that point to resources stored in other assemblies. Sense, is it "standard" for everything that supports the "application: // ,, Assembly" format?
So, are these the only options I have, or are there some others? And what would be the best option for this?
source share