Answer the question
In order to leave comments, you need to log in
Do I need .NET installed to run the program?
Good afternoon. I want to write a small utility for adding the necessary routes. It is necessary to run on XP, 7, 8, 8.1, 10. Accordingly, it is clear that there are also old systems. How to make the written program run on all platforms, starting with XP?
Answer the question
In order to leave comments, you need to log in
For Windows XP , you need .NET Framework 4 , the above will no longer work.
With older versions of systems, problems should not arise.
https://docs.microsoft.com/en-us/dotnet/framework/...
Alternatively, you can make a multiplatform application, use new versions of .NET for new platforms , and write inserts for XP under .NET 4.0 . The code might not be very maintainable:
#if NET40
// код для .NET 4.0
#else
// код для остальных версий
#enif
Write on the .NET that comes with the necessary systems .
See here below the OS support plate https://ru.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D...
See here what are the default versions https://ru.wikipedia.org/wiki/.NET_Framework
Do I need .NET installed to run the program?By the very wording, yes. you need to have the framework installed . but which one - it already depends on the system (but it seems that enough has already been said about this)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question