I have to install the .NET Framework 4.0 to run a program, and I've googled around to find what to install, but the only thing I can find is this.
The description there says (emphasis mine);
The Microsoft .NET Framework 4 redistributable package installs the .NET Framework runtime and associated files that are required to run and develop applications to target the .NET Framework 4.
Now I know that for开发者_如何学Python Java, there are two packages you can install - the Java Runtime Environment (JRE) which only allows you to run Java programs, not develop them, and the Java Development Kit (JDK) which allows you to develop them as well. The JDK is much bigger than the JRE, and it's not necessary if you just want to run a Java program.
So I'm wondering, is the situation for C# similar? I don't want to download something that allows me to run and develop .NET applications if I can avoid it. I would much rather download something smaller that only allows me to run them. Is there such a thing?
Check this page out:
SmallestDotNet.com is a single page site that does one thing. It tells you the smallest, easiest download you'd need to get the .NET Framework on your system.
http://www.hanselman.com/smallestdotnet/
Try the client profile
Depending on what dependencies your app has, you may still need the full profile though. Best way is to try it and see.
When it comes to .NET 4 there are 4 options:
- x86 Client Profile 29 MB.
- x86 Full Framework 35 MB.
- x86 and x64 Client Profile 41 MB.
- x86 and x64 Full Framework 48 MB.
Search for a redistributable.I think that on the MS site you can find only the redist package,not the VS and SDK.
Silverlight is actually a subset of the .NET framework which can run applications in and out-of-browser. Given the small install footprint you may wish to consider this as a valid option should it meet your requirements.
精彩评论