添加框架4.0到安装项目 [英] Add .Net Framework 4.0 into setup project

查看:96
本文介绍了添加框架4.0到安装项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:结果
让安装程序为C#应用程序,包括.NET框架安装到设置

我的Windows应用程序到.NET框架4.0,我要到.NET Framework 4.0中添加到安装文件。

I have windows application into .net framework 4.0, I want to add .net framework 4.0 into setup file..

我使用的先决条件增加了,但是当我开始下载它,它需要连接互联网。和文件是大约250 MB

I have added it using Prerequisites,but when i start to download it it required internet connection. and file is about 250 MB

是有可能,当我开始安装应用程序时,它还会自动安装.NET Framework?

is it possible that when i start to install application, it also install .net framework automatically ?

推荐答案

如果您正在使用Visual Studio安装程序安装项目,进入设置项目属性,然后单击先决条件按钮,然后需要选择所需的框架(的 3.5不起作用开箱看部分2.3.1.1 )。然后你选择从同一地点为我的应用程序下载的先决条件。这将包括框架作为安装程序的一部分。

If you are using the Visual Studio installer setup project, go to the Setup Projects Properties and click the Prerequisites button, you then need to select your required framework(3.5 does not work out of the Box look at section 2.3.1.1 ). Then you select Download prerequisites from the same location as my application. This will include the Framework as part of your Setup.

这篇关于添加框架4.0到安装项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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