.Net with a single .exe without installing the .NET Framework

I wrote my simple desktop program in C #. I do not want to distribute it on the Internet because I am not sure that users will experience pain when installing .Net Framework. My target users are non-specialized users.

I am very familiar with MFC, and I can probably write this program in MFC in a month. MFC is good because I don’t have to worry about distributing other components. This will be one good executable.

So my real question is: is it possible to write a .Net application without worrying about distributing the .Net Framework?

Update I found another solution: if you use Innosetup, there is a script that installs the .NET Framework. http://www.codeproject.com/KB/install/dotnetfx_innosetup_instal.aspx

+3
source share
4 answers

If you use the Windows installer, it can automatically install the required version of the .NET Framework. In addition, Jay is right that the .NET Framework 3.0 is installed on Windows Vista, and version 3.5 is included on Windows 7.

+2
source

. , Thinstall , / .net Framework 2.0: http://thinstall.com/demos/dnet20/

, VMware, , , . : http://www.vmware.com/products/thinapp/

, Thinapp/Thinstall'ed , , - . - EXE, , .

+2

.

, , , 2.0?

0

Depending on the version of the structure you are using, you most likely do not alienate too many people.

http://www.hanselman.com/blog/HowManyPCsInTheWorldHaveTheNETFrameworkInstalled.aspx

0
source

Source: https://habr.com/ru/post/1730291/


All Articles