VB.Net Run VB Exe without installing the program

Hi Experts.   I've written a very small formless windows app that just moves a file from A to B.   There are no dependancies.

When I publish the app it insists on creating a click once install version with a setup file.    Is there some way that I can just produce an .exe file that I can transfer to the target machine and have it run?    I've tried just moving the .exe from the bin\debug folder of the solution but that just produces the error "Unable to find a version of the runtime"      Any help appreciated.
LVL 2
PNRTAsked:
Who is Participating?
 
Pratima PharandeCommented:
yes.
You can schedule the exce from Scheduled tasks .

Take the exe from bin\debug or bin\release folder and click on it directly it will run

Or if you want to perodically run it ... schedule it
0
 
Pratima PharandeCommented:
if you want to move exe , you can not mpve only exe you need all supporting dll's nd config files also in that folder. copy all and then try
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.