I have a .Net 4 WPF application that is deployed through ClickOnce.
The application generates some reports locally and shows them to the user, so it has a reference to Microsoft.ReportViewer.WinForms
. These reports are .rdlc and embedded in the application as resources.
Recently, we upgraded the .dll from version 10 to the latest version 14 in order to view the newer schema definitions. The problem is that the older version did not have the option to show reports in other languages, but now, since it does, it includes additional folders in the deploy for each language (de, es, fr, etc.).
These folders add another 28.6 MB to the ClickOnce install (this effectively doubles our application installer size).
Since we do not need any of these language packs, is there a way to not include them when publishing the ClickOnce installer?
And are there any known side affects if these language version .dll's are not included?
Update: I am using post build events to delete the folders, and these remove the folders before the click once publish, but I assume that there is still some configuration so they are not included.