ClickOnce可以部署应用程序设置吗? [英] Can ClickOnce deployed application setup be compressed?

查看:190
本文介绍了ClickOnce可以部署应用程序设置吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用ClickOnce发布Windows窗体应用程序。考虑到这个应用程序的整体大小安装是相当大。这是超过15 MB的东西。如果我压缩本地构建的应用程序,它被挤压到2.5 MB。

I publish Windows Forms application using ClickOnce. The installation is quite big considering the overall size of this app. It's something over 15 MB. If I compress locally built application it is squeezed to 2.5 MB.

ClickOnce部署可以被压缩吗?

Can ClickOnce deployment be compressed somehow?

如果没有,是否使用IIS压缩加速传输?这会有帮助吗?

If not, is anyone using IIS compression to speed up transfers? Would that help?

推荐答案

据我所知,你不能真正手动压缩程序集。但是,您绝对可以使用IIS压缩。从我的带宽监视器的测试,它有一个显着的差异。一旦设置完成,你就不必考虑它了,它只是自动发生的。

As far as I know, you can't really manually compress your assemblies. However, you absolutely can use IIS compression. From my testing with a bandwidth monitor, it makes a significant difference. And once it's set up, you never have to think about it, it just happens automatically.

我很惊讶这个没有被更多地讨论。当我想在几年前做这件事时,我可以找到很少的信息。但是,本文应详细说明您需要的所有更改如果你运行IIS 6.0。我不知道这些说明将有多少不同的IIS的更高版本。

I'm surprised this isn't talked about more often. When I wanted to do this a few years ago I could find very little information about it. However, this article should detail all the changes you need to make if you're running IIS 6.0. I'm not sure how much different those instructions will be for later versions of IIS.

这篇关于ClickOnce可以部署应用程序设置吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆