Run C# windows application in windows XP without installing .NET Framework [duplicate]
Possible Duplicate:
Running .net based application without .NET Framework 开发者_JAVA技巧
Hello. Please let me know how I can run C# windows application in Windows XP without installing .NET Framework?
C# apllication not handled by operating System. Its CLR(inside framework) who take care to run the C# apps and all memory management, resource allocation, de-allocation etc. It create a virtual layer over OS while runnign its application. So you must need framework(more than or equivalent to 2.0 as you said)
You can't.
The framework and runtime need to be present for any .NET application to run.
It's like wanting a java program to run without installing a JRE.
Hmmm. I think You have no way except installin .NET 2.0 on target machine
I would say that you have no way to run what sits on .NET without installing the .NET Framework, this is the short answer.
Long answer is that there are some kind of softwares which pack all required dependencies ( and only the required ones ) into a bigger executable.
精彩评论