简体   繁体   English

如何在不使用安装程序包的情况下制作C#应用程序

[英]How to make C# Application without setup Package

I want need for the Winforms application to be installed. 我需要安装Winforms应用程序。 For that I am setting Copy Local to true for MY referenced dlls. 为此,我Copy Local “我的引用的dll”的“ Copy Local设置为true。 I build My project and copy all the files in /Bin/Release or /Bin/Debug (as my project settings). 我建立我的项目,并复制/Bin/Release/Bin/Debug所有文件(作为我的项目设置)。

But Problem is I have to installed on the client's machine is the appropriate .Net Framework version. 但是问题是我必须在客户端计算机上安装的是适当的.Net Framework版本。

is there any option to Winforms application to be run on the client's machine without .Net Framework installation. 没有安装.Net Framework的客户端计算机上是否可以运行Winforms应用程序? So I can copy in USB Drive and run it any where, 因此,我可以复制USB驱动器并在任何地方运行它,

The short answer is No . 简短的答案是“ 否”

However, as you can see from the Microsoft site , if you are using a Microsoft Windows Version that is still supported, you have very good chances of having a Framework Version 3.0 or 3.5 preinstalled and already available. 但是,从Microsoft站点可以看到,如果您使用的是仍受支持的Microsoft Windows版本,则很有可能预先安装了Framework Version 3.0或3.5并且已经可用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用SQL Server为C#Windows应用程序创建安装程序包 - How to create a setup package for C# Windows application with SQL server 如何在不创建安装文件的情况下运行 c# 应用程序? - how to running c# application without create setup file? 如何制作包含C#应用程序和sql server的安装文件 - How To make setup file that contains C# application and sql server 为 C# Windows 应用程序的混淆代码创建安装包 - Create setup package for obfuscated code for C# Windows Application 如何将托管C#dll与托管C#应用程序打包而不留下文件? - How do package managed C# dlls with a managed C# application without leaving behind files? C#VS2010如何强制安装项目安装应用程序而不要求用户输入 - C# VS2010 How to force setup project to install application without asking for user input 如何在C#应用程序中使用SSIS包而无需在服务器上安装SSIS,是否可能? - How to use SSIS package in C# application without installation SSIS on Server, is it possible? Windows的C#设置应用程序 - c# setup application for windows 如何创建 C# 桌面应用程序设置文件以及数据库 - How to create C# desktop application setup file along with database 如何使用C#在Windows应用程序中创建单个文件设置? - How to create single file setup in windows application in c#?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM