Redistributing the .NET Framework Using Visual Studio .NET Deployment
This section describes some possible scenarios for distributing the .NET Framework redistributable, Dotnetfx.exe, using Visual Studio .NET 2003. Because Dotnetfx.exe is a significant run-time component, you must have administrator privileges in order to install it on a computer.
When you deploy applications created with Visual Studio .NET that depend on the .NET Framework, the .NET Framework must already be present on the target computer. The .NET Framework can be included in a setup executable file created using Visual Studio .NET deployment tools only if you have installed the Visual Studio .NET Framework Bootstrapper Plug-in; otherwise it must be installed separately.
CautionDeployment projects for applications that reference the .NET Framework automatically add a merge module (dotnetfxredist_x86_xxx.msm, where xxx represents the language code) in the detected dependencies folder. This merge module cannot be redistributed; it exists for internal use by the project to prevent individual .NET assemblies from being listed. It is excluded by default; attempting to include it will cause a build error.
There are four alternatives when deploying a .NET Framework application:
- Install the Visual Studio .NET Framework Bootstrapper Plug-in on your development computer and use a Setup project to install the .NET Framework executable file along with your application.
- Instruct the user to manually install the .NET Framework executable.
- Use the Setup.exe Bootstrapper sample to install the .NET Framework redistributable package (Dotnetfx.exe) and then launch the Windows Installer package for your application.
- Network administrators can redistribute Dotnetfx.exe using an electronic software distribution tool. For details, see Distributing Dotnetfx.exe Using an Electronic Software Distribution Tool in the white paper Redistributing the .NET Framework.
引用自:http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetdep/html/vsredistdeploy1_1.asp
无论如何,23M的那个runtime包是少不了的,而且VS2003还不能很方便的直接生成那样的安装包。不知道微软怎么想的。
分享到:
相关推荐
首页新闻自动发布ASP.NET程序.rar
网站首页新闻自动发布ASP.NET程序 [内部新闻]...................................... >>> [ 添加新闻 ] [ 新闻管理 ] [ 更多新闻 ] [外部新闻]...................................... >>> [ ...
内容提要 <br> 本书系统地介绍了ASP.NET程序设计开发,全书案例程序使用C#编写,并遵守C#的编码规范。所有案例程序均来自课堂教学和工程实践,注重知识的兼容性和规范性。 依照ASP.NET编程体系,本书...
详细介绍如何将.net程序打包成exe安装程序。
发布ASP.NET程序至IIS7 出现 问题 及 解决方法! 值得下载看看!资源免费,大家分享!! 更多免费资源 http://ynsky.download.csdn.net
《ASP.NET程序设计(C#版)》共分为10章,主要包括ASP.NET 2.0和Visual Studio 2005开发环境简介,C# 2005编程基础,结构化程序设计方法,常Web服务器控件,ASP.NET 2.0内置对象,数据库应用程序开发,Web Service简介...
asp.net/aspx本地测试工具|一键本地测试asp.net程序,可以在本地测试任何asp.net程序!
IIS是Internet Information Server的缩写,是微软公司主推的Web服务器,通过IIS,开发人员可以更方便地调试程序或发布网站。 下面介绍如何在WindowsServer2003(SPI)操作系统中安装与配置IIS。 技术要点 以下是IIS...
IIS是Internet Information Server的缩写,是微软公司主推的Web服务器,通过IIS,开发人员可以更方便地调试程序或发布网站。 下面介绍如何在WindowsServer2003(SPI)操作系统中安装与配置IIS。 技术要点 以下是IIS...
1、使用性能测试工具dotTrace 3.0,它能够计算出你程序中那些代码占用内存较多 2、强制垃圾回收 3、多dispose,close 4、用timer,每几秒钟调用:SetProcessWorkingSetSize(Process.GetCurrentProcess()....
.NET制作安装部署程序,setup,msi .NET制作安装部署程序,setup,msi
【ASP.NET编程知识】ASP.NET程序发布详细过程.docx
ASP.NET程序设计实用教程+ASP.NET程序设计实用教程源代码 源代码放在一个文件中超出规定大小所以只单独发布
语音是人类最自然的...然而,在新发布的.net speech SDK里面并没有对中文语音进行支持,目前支持中文的Speech SDK最高版本为Windows平台下的SAPI 5.1(),本文介绍如何在.net平台下利用SAPI5.1开发中文语音应用程序。
• 第二章介绍.NET的开发工具Visual Studio .NET, 详细介绍了工具的使用过程和方法,并以一个简单的程序为例,介绍了Visual Studio .NET中编码、编译、执行的过程。 • 第三章介绍.NET 的基础技术,包括扩展...
【ASP.NET编程知识】利用IIS调试ASP.NET网站程序的完整步骤.docx
bugtrap功能非常强大,可用于WIN32/64 程序,MFC程序以及.NET程序,最重要的是集成到软件中非常方便。 bugtrap的作者叫Maksim Pyatkovskiy,非常感谢(Thanks)提供如此棒的软件调试工具。 下载文件中包含了bugtrap...
ASP.NET程序中常用代码汇总 发布:dxy 字体:[增加 减小] 类型:转载 对于学习asp.net的朋友能用的到
经过授权的用户可以通过Web浏览器,以人机交互式的客户端程序实现对学校新闻的发布、管理、实时的进行行为统计和记录。本系统是学校WEB站点的一个子系统,具有很好的外部接口,能够很好的配合站点的其它子系统服务于...