Click here to Skip to main content
15,867,834 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I want to create a exe which just starts running when double clicked. I dont want to install just run and execute. How can I achieve this?
Posted
Comments
Sinisa Hajnal 7-Nov-14 3:52am    
That is default behaviour. You don't have to do anything special. Only requirement is that .NET framework is installed on the system.

This assumes you don't have dependencies on registry or COM objects.

1 solution

Just take the .exe (and any dependant libraries/files) out from the bin\debug or the bin\release folder.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900