I never managed to remember the match between Visual Studio version, Visual C++ compiler version and Microsoft C/C++ compiler version.
I took a minute to collect all the data quite some time to collect all this information, and leave it here for future reference:
| Product | IDE version | Solution version(s) | Platform toolset | _MSC_VER |
|---|---|---|---|---|
| Visual Studio 2019 | 16.0 | ? | v142 | ? |
| Visual Studio 2017 | 15.9 | 12.0 | v141 | ? |
| 15.8 | 12.0 | v141 | 1915 | |
| 15.7 | 12.0 | v141 | 1914 | |
| 15.6 | 12.0 | v141 | 1913 | |
| 15.5 | 12.0 | v141 | 1912 | |
| 15.3-15.4 | 12.0 | v141 | 1911 | |
| 15.0-15.2 | 12.0 | v141 | 1910 | |
| Visual Studio 2015 | 14.0 | 12.0 | v140 | 1900 |
| Visual Studio 2013 | 12.0 | 12.0 | v120 | 1800 |
| Visual Studio 2012 | 11.0 | 12.0 | v110 | 1700 |
| Visual Studio 2010 | 10.0 | 11.0 | v100 | 1600 |
| Visual Studio 2008 | 9.0 | 10.0 | v90 | 1500 |
| Visual Studio 2005 | 8.0 | 9.0 | v80 | 1400 |
| Visual Studio.NET 2003 | 7.1 | 8.0 | v71 | 1310 |
| Visual Studio.NET | 7.0 | 7.0 | v70 | 1300 |
| Visual Studio 6.0 | 6.0 | DSW | v60 | 1200 |
| Visual Studio 97 | N/A | 1100 | ||
| Visual Studio | N/A | 1000 |
Hope it helps.
- To be verified
References
- Platform Toolset v60, v70, v71
- Platform Toolset v80, v90, v100
- Visual Studio solution file headers
- Side-by-side minor version MSVC toolsets in Visual Studio 2017
- Microsoft Visual C++ entry on Wikipedia
Last updated: 2018-10-09
- added VS2017 15.8 with _MSC_VER 1915
#
I can confirm the 2017 toolset version – it’s indeed 141.
#
Thanks! I also verified this, but forgot to update the map. I’ll do that right now.