问题
Possible Duplicate:
Running .net based application without .NET Framework
Hello. Please let me know how I can run C# windows application in Windows XP without installing .NET Framework?
回答1:
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)
回答2:
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.
回答3:
Hmmm. I think You have no way except installin .NET 2.0 on target machine
回答4:
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.
来源:https://stackoverflow.com/questions/4930831/run-c-sharp-windows-application-in-windows-xp-without-installing-net-framework