Visual Studio 中的正常设置

发布于 2024-08-21 10:39:42 字数 279 浏览 3 评论 0原文

只是想知道是否有办法使 Visual Studio 2008 Express Edition 生成由安装程序为我的应用程序创建的正常 exe 文件?

我厌倦了 ClickOnce 应用程序文件。我已经设置了所有这些文件关联,现在我实际上需要为我的应用程序安装一个安装程序,代码中的文件关联设置不起作用,因为现在它们是“ClickOnce”应用程序文件而不是普通的 exe 文件。不,VS 根本不会为 ClickOnce 应用程序创建任何 exe 文件。

非常感谢任何帮助,

谢谢:)

Just wondering if there's a way to make Visual Studio 2008 Express Edition generate normal exe files that are created by the installer for my app?

I am sick of the ClickOnce application files. I had all these file associations setup and now that I need to actually have an installer for my apps, the file associations setup in the code don't work because now they're "ClickOnce" app files and not normal exe files. And no, VS does not create any exe files at all for ClickOnce apps.

Any help is much appreciated

thank you :)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

怪我鬧 2024-08-28 10:39:42

VS Express 可以创建Setup.Exe 吗?不。

如果您检查许可证,您会发现 Express 版本并不打算进行分发(我在这里没有确切的措辞)。因此微软将安装生成器排除在包装之外。

您可以使用任何第三方安装程序,但这样您可能会违反许可证。


编辑:以上适用于VS2005 Express。

2008年和2010年Express的许可证似乎更宽松,请检查一下。

Can VS Express create Setup.Exe? No.

If you examine the license you will find that the Express edition is not intended to make distributions (I don't have the exact wording here). So MS left the Setup generator out of the package.

You can use any 3rd party setup maker but then you might be violating the license.


Edit: the above applies to VS2005 Express.

The licenses for 2008 and 2010 Express seem to be more lenient, do check.

孤独岁月 2024-08-28 10:39:42
ProjectFolder\bin\Debug

应包含您的应用程序的 .exe 文件。

但是,如果您想使用 EXE 进行部署,则应创建“发布版本”。

完成此操作后,您的文件将位于

ProjectFolder\bin\Release
ProjectFolder\bin\Debug

Should contain .exe files for your application.

If you want to use the EXEs for deployment, however, you should create a "Release build."

Once you do that, your files will be in

ProjectFolder\bin\Release
-小熊_ 2024-08-28 10:39:42

据我记得 Express 版本不提供部署工具,但仍然有许多免费安装程序可以做到这一点;例如,您可能想尝试 NSIS 或 InnoSetup。

As far as I remember the Express edition do not provide tools for deployment, but still there are many free installers that can do the trick; you may want to try NSIS or InnoSetup, for example.

丶情人眼里出诗心の 2024-08-28 10:39:42

右键单击您的解决方案>添加>项目>>其他项目类型>设置和部署> Visual Studio 安装程序 >设置项目

Right Click your Solution > Add > Project > Other Project Types > Setup and Deployment > Visual Studio Installer > Setup Project

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文