ITPUB论坛 » 开发工具和语言 » .NET软件架构与模式 » 怎么样在没装.net的机子上运行已编好的程序


2008-6-26 21:50 fight2007
怎么样在没装.net的机子上运行已编好的程序

各位大虾,怎么样在没装.net的机子上运行已编好的程序.

当我把编好的程序放在别人机子上,点. exe文件时,提示无法运行啊

[[i] 本帖最后由 fight2007 于 2008-6-26 22:10 编辑 [/i]]

2008-6-27 08:40 liuhongzhe
安装不低于你使用framework。

2008-6-27 15:39 gangyaocn
就像java程序机器上没安装jre一样

2008-6-27 15:42 gangyaocn
当然还有另一种办法是用ngen生成本机代码,不过这个方法我没用试过。毕竟你给别人安装程序时顺便安装一个.net framework也不是多麻烦的时期。

[url]http://msdn.microsoft.com/zh-cn/library/6t9t5wcf[/url](VS.80).aspx

2008-6-27 17:21 mo_yuan_ming
要安装 .net框架才行!

2008-6-27 22:59 fight2007
多谢各位大虾的回复 ,
意思是不是只要对方装了不低于我的 framework 就可以了

2008-6-27 23:26 gangyaocn
[quote]原帖由 [i]fight2007[/i] 于 2008-6-27 22:59 发表 [url=http://www.itpub.net/redirect.php?goto=findpost&pid=10792278&ptid=1012381][img]http://www.itpub.net/images/common/back.gif[/img][/url]
多谢各位大虾的回复 ,
意思是不是只要对方装了不低于我的 framework 就可以了 [/quote]

为什么不一块打包做个安装程序呢?

2008-6-28 12:52 fight2007
回复 #7 gangyaocn 的帖子

多谢苹果,请问下2003和2005打包引导程序一样吗?

2008-6-29 02:41 flybyfly
[quote]原帖由 [i]fight2007[/i] 于 2008-6-28 12:52 发表 [url=http://www.itpub.net/redirect.php?goto=findpost&pid=10795474&ptid=1012381][img]http://www.itpub.net/images/common/back.gif[/img][/url]
多谢苹果,请问下2003和2005打包引导程序一样吗? [/quote]
2005没做过啊。可以用那些打包安装程序制作安装程序

2008-6-30 12:04 mo_yuan_ming
[quote]原帖由 [i]flybyfly[/i] 于 2008-6-29 02:41 发表 [url=http://www.itpub.net/redirect.php?goto=findpost&pid=10800012&ptid=1012381][img]http://www.itpub.net/images/common/back.gif[/img][/url]

2005没做过啊。可以用那些打包安装程序制作安装程序 [/quote]

Vs2005自带的打包程序就行了!

页: [1]


Powered by ITPUB论坛