If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Can I run my .NET Application without the .NET Framework?

Q: Can I run my .NET Application without .NET?

A: No you cannot. The .NET Framework must be installed in the Client machine, in order to run.

Q: Why Not?

A: The answer is quite simple really. All the .Net libraries you call within your code are not compiled into your assembly, and you need these assemblies in the destination machine, in order for it to run.

A program compiled in C# or VB is not a program in native code, it is a "pre" compilation in a Intermediate Language (MSIL). When you run this "program" the .NET Runtime, makes the final compilation to native code for the platform on which it is executed - this is called Just In Time compiling.

Q: Can I run my application which was built with a newer .NET Framework ( for example .NET 2.0, .NET 3.0, .NET 3.5 ) on a machine that has a lower .NET Framework ( for example .Net Framework 1.1 ) installed?

A: Because an application was built in a particular version of the .NET Framework, it will know to use that specific version. For example, if an application was built with .NET Framework 2.0, it knows it should use .NET Framework 2.0; if an application was built with .NET Framework 1.1, it knows it should utilise the .NET Framework 1.1

Last edited by HanneSThEGreaT; November 16th, 2007 at 12:15 AM.
Reason: More Info

Re: Can I run my .NET Application without the .NET Framework?

Q: Can I run my application which was built with a newer .NET Framework ( for example .NET 2.0, .NET 3.0, .NET 3.5 ) on a machine that has a lower .NET Framework ( for example .Net Framework 1.1 ) installed?

I do not agree. I build my app on .net framework 3.5 and distribute it with 2.0. Because I know core is the same.