Version numbering: Wiki, other
Visual Studio, MSVC++ and cl have different version numbers. There's the branded version (printed on the box), the internal version (displayed in the About dialog box), and the compiler version (displayed by cl.exe and the _MSC_VER macro).
Par exemple:
- MSVC++ 14.23, link -version ou nmake -version, (donne msvc 142 pour boost) (https://cmake.org/cmake/help/latest/variable/MSVC_TOOLSET_VERSION.html)
- _MSC_VER == 1923, cl -version (https://cmake.org/cmake/help/latest/variable/MSVC_VERSION.html)
- Visual Studio 2019 Version 16.3, MSBuild -version
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" /help
MS: Microsoft VC: Visual C++ CRT: C Runtime
MT: Manifest Tool
Links: /MD /MDd, /MT, /MTd, /MP (Multiple Processes) M pour multithreaded module, D Dynamic vcruntime.dll
Linker flags: /LD, LDd : equivalent of -shared to create a DLL
Only C++ tools: link
VS Redistributable: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.23.27820\
"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe"
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat"
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
https://docs.microsoft.com/en-us/cpp/build/building-on-the-command-line?view=vs-2019
Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example:
- add -D_WIN32_WINNT=0x0601 to the compiler command line; or
- add _WIN32_WINNT=0x0601 to your project's Preprocessor Definitions. Assuming _WIN32_WINNT=0x0601 (i.e. Windows 7 target).
https://docs.microsoft.com/fr-fr/cpp/build/reference/d-preprocessor-definitions?view=vs-2019
https://docs.microsoft.com/fr-fr/cpp/preprocessor/predefined-macros?view=vs-2019
https://docs.microsoft.com/fr-fr/windows/win32/winprog/using-the-windows-headers
C:/Program Files (x86)/Windows Kits/10/bin/10.0.18362.0/x64/mt.exe
vs_community.exe --layout D:\Packages\vslayout --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --lang en-US d:\Packages\vslayout\vs_community.exe --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended
MSBuild.exe link.exe cl.exe devenv.exe https://docs.microsoft.com/en-us/cpp/build/reference/c-cpp-build-tools?view=vs-2019
"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe"
https://developer.microsoft.com/fr-fr/windows/downloads/sdk-archive https://visualstudio.microsoft.com/fr/vs/older-downloads/ https://my.visualstudio.com/Downloads?q=visual%20studio%202015&wt.mc_id=o~msft~vscom~older-downloads
https://docs.microsoft.com/fr-fr/visualstudio/productinfo/2015-redistribution-vs
- 19.00.23026 : VS2015 iso
- 19.00.24210 : VS2015 With Update 3 from ISO
- 19.00.24215.1 : VS2015 from Web Installer
- 19.00.24245 : VS2015 from VS2019 Installer
- 19.22.xxx : VS2019