关于部署 [英] regarding a deployment

查看:81
本文介绍了关于部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


这是桑杰.我已经开发了一个窗口项目,该项目可以运行吗?
无需在其他计算机上安装.net Framework安装程序.是否有可能.

Hi,
this is sanjay. I have developed a window project and could that project run
with out installing .net framework setup on different machine.Is it possible.
pls guide me if possible.

推荐答案

否,您必须安装.NET Framework才能运行.NET程序.

对于.NET 4 Framework,有一个.NET Framework 4客户端配置文件,它是.NET Framework 4的子集,该配置文件已针对客户端应用程序进行了优化.

它为大多数客户端应用程序提供功能,包括Windows Presentation Foundation,Windows Forms,Windows Communication Foundation和ClickOnce功能.

这样可以为面向.NET Framework 4客户端配置文件的应用程序提供更快的部署和较小的安装包.
No, you have to install .NET Framework in order to make your .NET program to run.

For .NET 4 Framework there is a .NET Framework 4 Client Profile, which is a subset of the .NET Framework 4 that is optimized for client applications.

It provides functionality for most client applications, including Windows Presentation Foundation, Windows Forms, Windows Communication Foundation, and ClickOnce features.

This enables faster deployment and a smaller install package for applications that target the .NET Framework 4 Client Profile.


不可能,假设您的意思是C#Windows Forms项目,因为这些类正在使用的是框架内的内容,并且生成的CLI代码要求框架可以运行.

但是,过去几年(几乎自Win XP SP1起),几乎每台Windows机器上都安装了.Net 3.5.因此,只要您不使用4.0,实际上,几乎所有(Windows)用户都将不需要安装.Net,因为他们已经安装了.Net.
It is not possible, assuming you mean a C# Windows Forms project, since the classes you are using are within the Framework, and the CLI code produced requires the Framework to run.

However, .Net 3.5 is installed on almost every Windows machine built in the last few years (I believe since Win XP SP1). So as long as you are not using 4.0, in practice almost all of your (Windows) users will not need to install .Net as they will already have it.


不可能在计算机上运行.Net应用程序,而无需在该计算机上安装.Net Framework.您的应用程序将针对.Net版本之一进行编译,这是需要在运行该应用程序的每台计算机上安装的版本.但是,可以将应用程序部署到一台计算机上,而其他计算机将从该计算机上获取应用程序.为此,请在MSDN或Google上查找ClickOnce Deployment.尽管您仍然需要安装.Net Framework.
It is not possible to run a .Net application on a machine without installing the .Net Framework on that machine. Your application will have been compiled against one of the versions of .Net and that is the version that needs to be installed on each machine which will run the application. It is, however, possible to Deploy your application to one machine and the other machines will get the application from that machine. For this look up ClickOnce Deployment on MSDN or Google. Although you would still need to install the .Net Framework.


这篇关于关于部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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