在用户计算机上发布.net应用程序 [英] Releasing a .net application on users machine

查看:78
本文介绍了在用户计算机上发布.net应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们,这听起来像是一个愚蠢的问题,但是我在任何地方都找不到答案,而且我从没做过,好了,我完成了我创建的应用程序.我想将应用程序转移到我的客户端计算机上,我很确定他们不会安装任何版本的.net框架.我是否需要确保他们已经安装了它,以便他们能够运行我的应用程序.谢谢你们

Hey guys, this might sound like a stupid question but I couldn''t find the answer anywhere and i have never done it before, ok I am finished an application I created. I want to transfer the application on to my clients machine, I''m pretty sure they won''t have any version of the .net framework installed. Do I need to make sure that they do have it installed so they will be able to run my application. Thanks guys

推荐答案

是的,你愿意.您可以要求适当的.NET版本作为使用应用程序的先决条件. (可选)您可以在应用程序中提供.NET的用户部署:
http://msdn.microsoft.com/en-us/library/6hbb4k3e.aspx [ ^ ].

找到使用客户端应用程序部署.NET Framework(面向开发人员)"部分.

—SA
Yes, you do. You can demand appropriate version of .NET as a prerequisite for using your application. Optionally, you can offer your user deployment of .NET with your application:
http://msdn.microsoft.com/en-us/library/6hbb4k3e.aspx[^].

Locate the section "Deploying the .NET Framework with a client application (for developers)".

—SA


右键单击您的解决方案,添加新项目->其他项目类型->设置和部署-> Visual Studio安装程序->设置项目.给它起个名字.现在转到设置项目属性,然后单击先决条件..."按钮->选择您需要的任何东西.您可以指定用户是必须从网站上下载缺少的组件还是必须提供应用程序.
Right click on your solution, add new project -> Other Project Type -> Setup and Deployment -> Visual Studio Installer -> Setup Project. Give it a name. Now go to setup project properties and click ''Prerequisites...'' button -> select anything you need. You can specify whether the user must download missing component from the web site or provide with application.


这篇关于在用户计算机上发布.net应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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