Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can C# apps run without the .NET framework?

Tags:

I intend to learn C# and start coding Windows .exe applications, but the only thing that is holding me back is that not all potential users have the .NET framework installed and therefore would be unable to run my application.

Is there any way around it?

Thanks!

like image 590
Rob Avatar asked Nov 29 '10 18:11

Rob


2 Answers

No. c# only target .NET (or a comparable framework, such as mono). As an aside, Win7 comes with .NET preinstalled, and I believe Vista did as well. There are also a ton of MS apps which require .NET. It's getting near ubiquitous on windows machines, so I wouldn't worry about it.

like image 132
Donnie Avatar answered Oct 21 '22 17:10

Donnie


YES, there was XenoCode that can wrap everything that your app needs and runs it in as a standalone. I don't know what kind of dirty tricks they use, but there IS a way.

Now it's Spoon

From their site:

Spoon Studio

Easily virtualize all of your applications for instant, zero-install delivery on Spoon Server and Spoon.net.

Spoon Studio lets you convert your existing software applications into virtual applications that run with no installs, conflicts, or dependencies.

BTW, I'm in no way affiliated with them - just curious if the community will accept it or flame it.

like image 37
Daniel Mošmondor Avatar answered Oct 21 '22 17:10

Daniel Mošmondor