我想要在VB.net中发布或发布构建? [英] Do I want Publish or Release Build in VB.net?

查看:185
本文介绍了我想要在VB.net中发布或发布构建?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写了一点(像40行一点)Winforms应用程序与VB.net在Visual Studio 2010.现在我发布了代码作为一个Google代码项目。开发人员很容易得到源代码,但是我也想使其安装变得容易。



我所做的是做一个发布版本,然后压缩它创建,这包括一个setup.exe。还有一个选项是发布我的项目,看起来它可以启用更新检查和其他东西。



在我的情况下,我只是想让一个偶然的用户谁想要尝试这个应用程序,只需点击几下。我们认为最好的方法是主观的,这是最好的方法。

解决方案

但是,您的方式没有任何问题。这是怎么做的。



如果您计划提供更新,您还可以查看ClickOnce(这是您提到的发布选项),但我喜欢您做得更好的方式。



使用ClickOnce,您可能需要从CA购买证书并签署代码。如果您没有这样做,那么尝试使用您的应用程序的任何人都会获得可怕的安全警告。他们可以绕过它,但它会阻止任何不熟悉的人。


I wrote a little (like 40 lines little) Winforms application with VB.net in Visual Studio 2010. Now I've released the code as a Google Code project. It's easy for a developer to get the source but I'd like to make it easy to install too.

What I did was make a release build then zip up what it created, this included a setup.exe. There was also an option to "publish" my project which looks like it can enable update checks and other stuff.

In my case, I just want to make it easy for a casual user who happens to want to try out this app with as few clicks as needed. Was putting up the release build the best way to do that?

解决方案

I think the "Best" method is subjective. However, there's nothing wrong with the way you did it. It's how I would have done it.

If you plan on providing updates, you could also look at ClickOnce (which is the "Publish" option you mentioned), but I like the way you did it better.

With ClickOnce, you'd probably need to purchase a certificate from a CA and sign your code. If you fail to do this, then anyone who tries to use your app gets a scary security warning. They can bypass it, but it would discourage anyone who is not familiar with it.

这篇关于我想要在VB.net中发布或发布构建?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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