Reputation: 11
Imagine you have a program written with the latest supported standards in mind, and compiled with the latest compiler version. In this case, the compiler version that comes with Visual Studio 2019 is MSVC v142.
Then imagine some programs that refuse to run on older versions of Windows 10 (like 1507 or 1511).
Can a program that is written via Visual Studio 2019 run on any version of Windows 10 (including out of support versions), or only the most recent versions of Windows 10 (currently 1803 and 1809)?
Upvotes: 1
Views: 671
Reputation: 41057
It depends on what APIs you use, but you can generally build Win32 desktop applications for older version of Windows with the current Windows SDK and Visual Studio. Officially the VS 2019 Redist System Requirements support Windows 10 (Version 1703; build 15063) or higher and the Windows 10 Enterprise LTSC, as well as older versions of Windows.
For UWP apps, it depends on both what APIs you use and the 'minimum Windows target' version you set.
Generally Windows 10 (Version 1607; build 14393) is the oldest one you are likely to ever encounter outside of enterprise settings.
Upvotes: 2