我该如何制作exe(不需要任何东西?) [英] how can i make exe (that no need to anything?)

查看:85
本文介绍了我该如何制作exe(不需要任何东西?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我正在使用vb.net控制台应用程序
我想当我完成我的工作并使exe不需要.netfraimwork
但是我无法成功,因为清单中的每个项目都需要.netfraimwork2.0
所以我的问题是:
我可以制作像qt这样的exe文件,在自己的文件中使用其他库文件制作更大的文件,但这对我很有好处...
我需要在vb.net中执行exe,不需要执行

hi every one
i am using vb.net console application
i wanna when i finish my work and make exe that didnt need to .netfraimwork
but i can not successful becuase every of my project at list need .netfraimwork2.0
so my question is :
can i make a exe like qt that use others librarries in own file make larger file but that is good for me...
i need to exe in vb.net dont need anything for executing

推荐答案

好.首先,您不能在客户端计算机上运行没有.Net框架的.Net中创建的应用程序.

现在为您解决问题.您需要创建一个部署项目,其中需要包含.Net Framework可重新分发的exe.在部署中,运行类似
的命令
Okay. First point, you CAN''T run an Application created in .Net without .Net framework on the client machine.

Now for solution to your problem. You need to create a deployment project where you need to include .Net Framework re-distributable exe. In your deployment you run command like
dotnetfx35.exe /q /norestart 



现在,这将安装dotnet框架,而无需重新启动计算机,然后部署您自己的应用程序.

有关此类部署项目的分步指南,请访问 http://support.microsoft.com/kb/324733 [^ ]

希望能有所帮助.如果确实将其标记为答案/赞扬.

谢谢,
Milind



Now, this will install dotnet framework without re-starting the machine and then you deploy your own application.

A step-by-step guide for such deployment project is at http://support.microsoft.com/kb/324733[^]

Hope that helps. If it does mark it as answer/upvote.

Thanks,
Milind


您应该创建安装程序[无论控制台或Windows应用程序都遵循相同的步骤]
因为要运行在.net环境中开发的应用程序,它将需要客户端PC上的.net框架,
访问链接,或者您也可以在Google上搜索有关在.net Win/控制台中创建安装程序的步骤...
Visual Studio Windows应用程序安装项目 [
you should create setup [doesn''t matter console or windows application both have same procedure to follow]
because to run application developed in .net environment it will need .net framework on client pc,
visit link or you can also search on google about steps for create setup in .net Win/console...
Visual Studio Windows Application Setup Project[^]

Happy Coding!
:)


如果要创建控制台应用程序并在没有框架的任何其他客户端计算机上执行,则必须使用C或C ++语言创建它. C ++从来不需要依赖的程序集.
If you are making a console application and to execute in any other client machine without framework then you must have to create it in C or C++ language.An Simple application made by C or C++ never required depended assemblies.


这篇关于我该如何制作exe(不需要任何东西?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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