Running .NET applications without the .NET framework
I was wondering that is there any way to run application made in visual studio c# with out installing the .NET framework on client end.
One idea came to my mind may be it is crazy,that is the application that we make depends on the library files that we use in it for example System开发者_StackOverflow中文版.Windows.Forms etc etc and when ever we use some extra dll file it gets copy in the location where setup is installed in short instead of keeping the whole dot net frame work can we just specify the dependencies and export them?
Since you also need the runtime to be present, it's not that simple.
In short, (as @Mitch said), this is not possible.
No.
Windows 7 machines have .NET 3.5 installed as part of OS installation.
Well there's the Salamander .NET Linker, but it's not free.
The short answer to your question is no, this isn't possible.
However, depending on what your reasons are for not wanting to install the framework, you may find the .NET Framework Client Profile useful. This is a cutdown version of the main framework which removes libraries you may not need and therefore reduces the diskspace and resources it requires on the client machine.
Alternatively, maybe Silverlight could meet your needs - whilst the Silverlight runtime would need installing, this is again a cutdown version of the CLR and can be delivered through a browser.
What about using client profile feature of .net 4. http://msdn.microsoft.com/en-us/library/cc656912.aspx
It is same like you want to open Microsoft Word 2007/2010 files with extension (.docx) with Microsoft Word 2003 that only provides files with extension (.doc). :):):)
精彩评论