Grouping, while publishing a ClickOnce application.

When we publish our application, Initially there is only a single group named Required.

In our application, sometimes we would like to use XMLSerializer for optimization. This will create XMLSerializer.dll in your application.

This XMLSerializer.dll we normally dont want to download everytime, when we publish our application again after some changes and want it to be downloaded for specific set of users.

We can create a separate group for XMLSerializer.dll in ClickOnce, which will specify it to be downloaded to some set of user who belongs to that group.

Note: Never put XMLSerializer.dll and main application dll or exe in same group.

 

Disclaimer: This is a personal weblog. The opinions expressed here represent my own and not those of my employer.