[英]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.