我用3.5框架制作了一个C#窗口应用程序,我想将此应用程序安装为未安装.net框架的系统,我该如何进行设置,但又不想安装.net ... [英] I make a C# window application with 3.5 framework and I want install this application a system in which .net framework is not installed,how i make the setup,but do not to want to install .net...

查看:99
本文介绍了我用3.5框架制作了一个C#窗口应用程序,我想将此应用程序安装为未安装.net框架的系统,我该如何进行设置,但又不想安装.net ...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用3.5框架制作了一个C#窗口应用程序,我想将该应用程序安装为未安装.net框架的系统,我该如何进行设置,但又不想在其他系统中安装.net框架

I make a C# window application with 3.5 framework and I want install this application a system in which .net framework is not installed,how i make the setup,but do not to want to install .net framework in other system

推荐答案

.NET具有对此功能的内置支持.您可以创建安装程序项目,并将.NET Framework,SqlExpress和Windows Installer作为该程序包的先决条件.

阅读以下文章:

MSDN:如何通过使用Visual Studio .NET创建安装程序包 [ CP:如何在Visual Studio .net 2005安装程序中添加先决条件 [
.NET has build-in support for this feature. You can create a Setup project, and the .NET Framework, SqlExpress, and Windows Installer as prerequisites to the package.

Have a read on the following articles:

MSDN: How to create a Setup package by using Visual Studio .NET[^]
CP: How to add prerequisites in visual studio .net 2005 setup[^]


在解决方案资源管理器,然后转到属性

然后转到发布向导,它将逐步指导您

这称为单击一次"应用程序,不必在客户端PC上安装点网,该应用程序即可正常运行
right click ur project in the solution explorer and then go to properties

and then go to the publish wizard it will guide u step by step

this is called as click once application and its not necessary that dot net is installed at ur client pc the application will run just fine


这篇关于我用3.5框架制作了一个C#窗口应用程序,我想将此应用程序安装为未安装.net框架的系统,我该如何进行设置,但又不想安装.net ...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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