制作可移植程序 [英] make portable program

查看:80
本文介绍了制作可移植程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们.
我用Visual Studio(C#)编写了一个程序,现在我想制作一个.exe文件以使我的程序无需安装即可工作,并且它是可移植的程序,可以在7位64位和32位窗口中运行. > 感谢您的责任.

HI GUYS.
I wrote a program with visual studio (C#) and now i want to make an .exe file for my program to work without need to install and it be a portable program , able to be run in window 7 64bit & 32bit.
Thanks for your responsibility.

推荐答案

提供了所有Windows 7安装(例如V3.5或更低版本)支持的.NET版本的目标,并且不使用任何非标准DLL文件,然后仅构建要发布的exe就可以做到这一点.如果您使用更高的.NET版本,则它需要一个安装程序,您添加到程序引用中的所有DLL文件也需要安装程序.
Provided you target a .NET version supported in all Windows 7 installations (i.e. V3.5 or lower) and do not use any nonstandard DLL files, then just building the exe for release will do that. If you use a higher .NET version, then it needs an installer, as will any DLL files you add to the program references.


这篇关于制作可移植程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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