Creating an executable for .net application

G

Guest

Hi all,

I'm new to VB.net and have a question about creating the .exe file for my
program. In VB6 you could just select 'Make .exe' from the File menu, but
everything that I read about deploying an application in VB.net talks about
creating an installer file. The application I created is very small (just a
sample) and I don't want the user to have to install the program, just run an
executable. Is there any way to do this in VB.net?

Can someone help or point me in the right direction. I feel like I'm
running around in circles!
 
S

Shiva

Hi,

If you are using Visual Studio .NET, the project build operation will create
the target file (exe or dll). Once the build is completed successfully, it
would have created the target file in <project Folder>\bin\debug.

Hope that helps.

Hi all,

I'm new to VB.net and have a question about creating the .exe file for my
program. In VB6 you could just select 'Make .exe' from the File menu, but
everything that I read about deploying an application in VB.net talks about
creating an installer file. The application I created is very small (just a
sample) and I don't want the user to have to install the program, just run
an
executable. Is there any way to do this in VB.net?

Can someone help or point me in the right direction. I feel like I'm
running around in circles!
 
P

Peter van der Goes

jcooper said:
Hi all,

I'm new to VB.net and have a question about creating the .exe file for my
program. In VB6 you could just select 'Make .exe' from the File menu, but
everything that I read about deploying an application in VB.net talks about
creating an installer file. The application I created is very small (just a
sample) and I don't want the user to have to install the program, just run an
executable. Is there any way to do this in VB.net?

Can someone help or point me in the right direction. I feel like I'm
running around in circles!

VB never did create a stand-alone executable. Prior to .NET, the VB runtime
was required if not already installed on target PC(s)..
As Shiva has told you, VB.NET does create an .exe or .dll, depending on the
template selected. As was the case with VB 6, the .exe must be accompanied
by the necessary support files if it is to run on a host that does not have
the development environment installed.
So, the question is, what is installed on the potential user's PC? In the
case of VB.NET, regardless of the deployment method you choose, the user
must have the .NET Framework installed (unless you add the Framework as part
of your install package).
Bottom line: You need to add a deployment project to your solution to build
an installable package.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top