Creating Stand-Alone / Single EXE VB.NET Applications

  • Thread starter Thread starter William Hughes
  • Start date Start date
W

William Hughes

I'd like to be able to create a VB.NET application that is
a single .EXE file -- obviously with the requirements that
the .NET framework and any other dependancies are already
installed on the PC.

My previous efforts havn't been too successful.

Any information would be greatly appreciated.
 
What problems are you having? All of the apps i have done in .NET are single EXEs
 
Hi Bill,

When you build your app inside vs .net, it creates the standalone .exe in
the bin subdirectory, whether a debug or release version.

HTH,

Bernie Yaeger
 
* "William Hughes said:
I'd like to be able to create a VB.NET application that is
a single .EXE file -- obviously with the requirements that
the .NET framework and any other dependancies are already
installed on the PC.

My previous efforts havn't been too successful.

What are your problems? Do you have problems embedding the files into
your executable? Are you using components which must be installed?

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>
 
William Hughes said:
I'd like to be able to create a VB.NET application that is
a single .EXE file -- obviously with the requirements that
the .NET framework and any other dependancies are already
installed on the PC.

My previous efforts havn't been too successful.

Any information would be greatly appreciated.

If you assume that all dependencies are already installed, yes, it's
sufficient to copy the EXE file - but, usually the dependent components are
not installed, or you don't know whether they are installed, so you have to
deploy them anyway.
 
I think u want to include the .net frame work with the application and want
to create a single exe file. For that you have to include the .net framework
redistributable copy with ur setup file. you can get the .net framework
redistributable copy from the microsoft site.

Mr Utkal Ranjan, New Delhi.
 

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

Back
Top