How to Make a vb.net exe file using visual studio.net 2003

vaso

New member
Joined
Dec 2, 2003
Messages
2
Hi
Can some one of you help me how to make an exe in vb.net so that i can package all my libraries and .vb files and make a single .exe with vb.net. I would like to make the exe file and install that exe on the end users machine who doesnt have .net framework installed.

Your help in this is greatly appreciated.

Thanks
 
Just compile your solution, you can find the option on the Build Menu -> Build Solution.
Everything will be compiled inside a folder named "BIN"
I hope this helps
 
Dont forget that you have to make sure the .NET framework is already installed in the target pc!
 
.net application needs to run on target pc without .net framework being installed

tate
Thanks for your reply. As you said, is it mandatory to have .net framework installed on the target PC. But my situation needs that the target PC doesnt have .net framework installed.
So what is other way for me to have my .net exe application run on target PC without .net framework installed on the target PC.

I would like my application run just like the regular vb6.0 project.
which runs on any pc once i create a vb project package.

Thanks in advance
Vasu
 
Well, actually VB6 apps need the VB runtime installed on the target computer, but sometimes other apps install it so u dont need to reinstall it again, in the case of .NET apps is the same, u need to have the Framework installed, without the framework your app will never run.

What u can do is create a setup and redistribute the framework on it, if u still dont want the framework Ill suggest that you use another language for your coding, like C++ or even go back to VB6, where almost 99% of all computers have the runtime already installed
 
How can I redistribute the framework with the exe I am creating?

I want to install the framework right before I run my exe. Thanks.
 
It shows you how to do a setup routine for your .Exe that will also deploy the framework if its needed - wasnt that what you wanted?
 
Last edited by a moderator:
I was wondering how to "complie" all my work form1.vb blah blah blah .. into just ONE *.exe ? i did that build sulition but it gave me two dll files and a pod file ? but all i want is just one exe... how do i get just one EXE to work on all computers ?
 
If you have a project that references other Dlls then you will need to deploy those dlls as well as the exe. There is no supported way of building the dll into the exe.
 
Back
Top