Click here to Skip to main content
15,910,787 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
this is sanjay. I have developed a window project and could that project run
with out installing .net framework setup on different machine.Is it possible.
pls guide me if possible.
Posted

No, you have to install .NET Framework in order to make your .NET program to run.

For .NET 4 Framework there is a .NET Framework 4 Client Profile, which is a subset of the .NET Framework 4 that is optimized for client applications.

It provides functionality for most client applications, including Windows Presentation Foundation, Windows Forms, Windows Communication Foundation, and ClickOnce features.

This enables faster deployment and a smaller install package for applications that target the .NET Framework 4 Client Profile.
 
Share this answer
 
Comments
BobJanova 19-Apr-11 9:59am    
I bet it's still bigger than just deploying against 2.0/3.5 though :P
Kim Togo 19-Apr-11 10:04am    
Perhaps :-)
Microsoft download site, says a .NET 4 Client Profile x86 and x64 CPU is around 41MB.
It is not possible, assuming you mean a C# Windows Forms project, since the classes you are using are within the Framework, and the CLI code produced requires the Framework to run.

However, .Net 3.5 is installed on almost every Windows machine built in the last few years (I believe since Win XP SP1). So as long as you are not using 4.0, in practice almost all of your (Windows) users will not need to install .Net as they will already have it.
 
Share this answer
 
It is not possible to run a .Net application on a machine without installing the .Net Framework on that machine. Your application will have been compiled against one of the versions of .Net and that is the version that needs to be installed on each machine which will run the application. It is, however, possible to Deploy your application to one machine and the other machines will get the application from that machine. For this look up ClickOnce Deployment on MSDN or Google. Although you would still need to install the .Net Framework.
 
Share this answer
 
v2
No. Its not possible.
You should install .Net Frame work.

If you try to install your application without installing .Net Frame work It will give error.
 
Share this answer
 
No. The best you can do is to use COM interop to run API code.
 
Share this answer
 
You should install the .NET Framework on the target machine in order to run exe file on the machine. Only then will your .NET Developed application work correctly.
For more information on .NET Framework,


see: http://msdn.microsoft.com/en-us/library/zw4w595w.aspx[^]
 
Share this answer
 
v3

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