如何在C#.net上创建可移植Exe,& VB.net [英] how create Portable Exe on C#.net, & VB.net

查看:109
本文介绍了如何在C#.net上创建可移植Exe,& VB.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,
我在C#.net中制作了一些小型应用程序,并且还创建了安装文件,但我想将exe作为便携式exe来使用,因此我如何以C#.net语言创建便携式exe并使用Visual Studio 2008来在c#中创建便携式exe由Visual Studio 2008 plz给我一步一步.

谢谢,

Dear All,
I make some small application in C#.net and I create setup file also but I want to exe is as a portable exe so how I create portable exe in C#.net language and I use visual studio 2008 so how I create portable exe in c# by Visual Studio 2008 plz give me a step by step.

Thanks,

推荐答案

.net应用程序永远不会完全可移植.但是,如果您将每个参数存储在app.config中,并且部署了所有测定(未包含在框架中),并且没有使用需要在GAC中存储的测定,那么您的应用将可以在所有Compuetrs中移植,并且安装了该框架您的应用程序取决于.
A .net application will be never fully portable. But if you store every parameter in app.config and you deploy all your assamblies (not included in framework), and you don''t use assamblies that need to be in GAC, than your app will be portable across compuetrs havig installed the framework your application depends on.


这篇关于如何在C#.net上创建可移植Exe,& VB.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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