compilation problem

nilmer

Member
Joined
Nov 17, 2003
Messages
14
Hello,

Im new to VB, but with experience with a few other languages.

Im having some trouble wiht VB .NETs compilation process.

according to my manual, all thats necessary is to set it for Release version and click Build solution.


the .exe file that is produced runs perfectly on the computer it was built on, but will not work on any other computer.

Ive attempted this with several different programs, including a simple "hello world" with the same problem.


any suggestions?
 
Do the other computers have the .NET framework installed on them?
 
All the computers need to have the framework installed in order to work. You can download it for free from MSs site, so you need to do that first.
 
ok,

so that would need to be distributed in an install file to make a redistributable version of an application?
 
Im not experienced with making setup projects, but Im fairly sure it has to be installed separately. You can provide a link to download it, or if you are distributing a CD, put the setup file on the CD.
 
I see.

Thank you for your help.

Apparently this software is unable to make professional quality marketable programs then. :/
 
Not true. I dont see people complaining when games require DirectX, though that is just as big, or bigger. Its the same thing really.
 
Good point
thanks ill play with it a bit.

Although it still seems it would be a issue, since they cannot even run the setup file untill after they have installed the framework
 
Its a bit of a drawback, sure, but its the price you pay for such flexibility. You cant really have all the functionality that .NET has without leaving a sizable footprint.
 
Back
Top