Deploy my DLLs to GAC for use with ClickOnce App

前端 未结 6 946
轻奢々
轻奢々 2021-01-05 16:02

How do I do it? Is there any reason I shouldn\'t?

I have a winform ClickOnce App that has about 13mbs in DLLs that are not mine so I would have no need/ability to u

6条回答
  •  半阙折子戏
    2021-01-05 16:23

    Expanding on @kanad's response...

    Your 13MB of dlls will only be downloaded by users the first time they install the application. That's one of the big advantages of ClickOnce, users only have to download files that have changed.

    However, the confusing thing is that the ClickOnce progress dialog always shows the entire size of your application even though it may not be downloading the entire application. I did extensive testing to make sure this was the case and proved it to myself using a bandwidth monitor.

    Finally, if you have control over your web server you might want to consider enabling compression for your ClickOnce applications. It helps reduces the download size considerably. Compression is kind of a pain to set up, but this article should get you started. However, once again, the compressed size is not reflected in ClickOnce progress dialog.

    The best thing to do is just ignore the number that shows up on the ClickOnce progress dialog :)

提交回复
热议问题