0

Is it possible to run a C# .net Framework application which doesn't have any GUI on a machine without .net Framework installed ?

Brainless
  • 1,522
  • 1
  • 16
  • 30
  • Why would you want to do that? – Conrad Frix Jul 09 '14 at 02:24
  • This may change once .NET ahead-of-time compilation ships with the next version of Visual Studio, but for now, no, you can't. .NET is more than a GUI library: it's a whole infrastructure. – zneak Jul 09 '14 at 02:58

2 Answers2

4

No, the .Net framework is a requirement for running .net applications. The .net framework provides the host that runs the .Net code. It's in many ways similar to Java and its virtual machine.

TGH
  • 38,769
  • 12
  • 102
  • 135
2

Perhaps you are looking for a .Net Linker, so that you can remove the .Net framework installation dependency at deployment by linking .NET assemblies together into a single file. Please see this relevant post here that had good information on linkers. I personally have successfully used the commercial solution remotesoft before.

Community
  • 1
  • 1
etr
  • 1,252
  • 2
  • 8
  • 15