Click here to Skip to main content
15,891,409 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I just want to create a executable setup in C#.net or in VB.net program. So that it can be installed in computer and after installation in runs without .net framework. How it can be done.
Posted

 
Share this answer
 
v2
Comments
avinasoni 23-Dec-14 2:48am    
Thanx for this article
You can't.
C# and VB both depend on the .NET framework, and cannot run without it, or a framework emulator (such as Mono). The later would be so much trouble to install that you might as well bite the bullet and install the "proper" .NET framework anyway - Vista and 7 both come pre-installed with .NET versions anyway, so there is a good chance that you eventual target machine will have some framework installed to start with.

If you create a "Setup and Deployment" project in your solution, it will automatically install teh relevent framework for you.


And before the purists chime in with "yes you can, buy such and such a product" I know that you can get products such as Spoon Studio, but generally, they are a waste of time and money...
 
Share this answer
 
 
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