A program written in Visual C # or Visual C ++ requires the .NET Framework

Is there a way to write a program in Visual C # or Visual C ++ so that the end user does not need to install the .NET platform on their computers to run my program?

+4
source share
5 answers

Yes, use C ++ and compile the native / win32 executable, not the target project with / CLR management.

+4
source

Visual C ++ is not a problem, C # will be very difficult. In any case, I don’t understand why .Net installation is such a problem, IIRC is actually included in some distributions and service packs.

+2
source

If you just avoid Microsoft, you can install them Mono .

+1
source

For Visual C #, you can at least package your .NET application using the .NET client profile (a subset of the complete .NET Framework 4). This slightly reduces the payload.

0
source

Despite the fact that you need a sufficient amount of manual effort, if you really need to work without .NET installed, you can virtualize the runtime files in your application.

http://boxedapp.com/blog/2008/06/11/net-runtime-embedding/

0
source

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


All Articles