# List of supported Visual Studio versions

**URL:** https://discourse.itk.org/t/list-of-supported-visual-studio-versions/2059
**Category:** Engineering
**Created:** [July 18, 2019, 1:09pm UTC](https://discourse.itk.org/t/list-of-supported-visual-studio-versions/2059 "2019-07-18T13:09:22Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![lassoan](https://discourse.itk.org/user_avatar/discourse.itk.org/lassoan/32/27_2.png) [@lassoan](https://discourse.itk.org/u/lassoan)
#### Post date: [July 18, 2019, 1:09pm UTC](https://discourse.itk.org/t/list-of-supported-visual-studio-versions/2059/1 "2019-07-18T13:09:22Z")

</div>

Somebody asked me about where to find list of Visual Studio versions that ITK is supposed to work with. Very suprisingly, I could not find an up-to-date list.

These are the closest that I’ve found (by searching for _itk build instructions_ on google):

- [ITK software guide](https://itk.org/ItkSoftwareGuide.pdf) contains outdated and incorrect information on page 9-10, referring to VS2010-VS2013
- [ITK wiki](https://itk.org/Wiki/ITK/Configuring_and_Building/VisualStudio) only refers to VS2010 as supported compiler

Googling _itk supported platforms_ brings up extremely obsolete information, too (latest operating system supported is Windows 2000 and XP).

It would be better to create a single “supported platforms” or “build instructions” page and keep that up-to-date (and link that page from everywhere else). Since supported platforms change continuously, this information must be stored along with the code, for example [here](https://github.com/InsightSoftwareConsortium/ITK/tree/master/Documentation).

---

<div class="post-metadata">

### Author: ![matt.mccormick](https://discourse.itk.org/user_avatar/discourse.itk.org/matt.mccormick/32/7_2.png) [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)
#### Post date: [July 18, 2019, 4:08pm UTC](https://discourse.itk.org/t/list-of-supported-visual-studio-versions/2059/2 "2019-07-18T16:08:20Z")

</div>

@lassoan thanks for the note.

The currently supported versions are Visual Studio 2015 and Visual Studio 2017. Visual Studio 2015 is required for C++11 support in ITK 5. Visual Studio 2019 currently has issues [according to this thread](https://discourse.itk.org/t/has-anyone-tried-to-build-visual-studio-c-2019/1561/11).

A pull request to update the ITK Software Guide is here:

> <https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide/pull/129>

---

<div class="post-metadata">

### Author: ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)
#### Post date: [July 18, 2019, 6:51pm UTC](https://discourse.itk.org/t/list-of-supported-visual-studio-versions/2059/3 "2019-07-18T18:51:21Z")

</div>

I updated the referenced [wiki page](https://itk.org/Wiki/ITK/Configuring_and_Building/VisualStudio).

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.itk.org/user_avatar/discourse.itk.org/lassoan/32/27_2.png) [@lassoan](https://discourse.itk.org/u/lassoan)
#### Post date: [July 19, 2019, 3:15am UTC](https://discourse.itk.org/t/list-of-supported-visual-studio-versions/2059/4 "2019-07-19T03:15:24Z")

</div>

Thank you both! I’ve commented a bit on the ITK software guide pull request about VS toolsets and that such low-level details belong to the source code repository (and the wiki page and software guide could have a link to that file).

---

<div class="post-metadata">

### Author: ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)
#### Post date: [July 19, 2019, 9:35pm UTC](https://discourse.itk.org/t/list-of-supported-visual-studio-versions/2059/5 "2019-07-19T21:35:28Z")

</div>

That information is contained [here](https://github.com/InsightSoftwareConsortium/ITK/blob/087691fa5930b0608719cfa0c6d172de9cc3995d/Modules/Core/Common/include/itkMacro.h#L128-L173). But you are right, it is not very concise, and it is hard to link to it. I will create a new markdown document and duplication this information in it.

---

<div class="post-metadata">

### Author: ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)
#### Post date: [July 19, 2019, 9:51pm UTC](https://discourse.itk.org/t/list-of-supported-visual-studio-versions/2059/6 "2019-07-19T21:51:46Z")

</div>

[PR](https://github.com/InsightSoftwareConsortium/ITK/pull/1110) created. Suggestions are welcome.

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.itk.org/user_avatar/discourse.itk.org/lassoan/32/27_2.png) [@lassoan](https://discourse.itk.org/u/lassoan)
#### Post date: [July 19, 2019, 11:15pm UTC](https://discourse.itk.org/t/list-of-supported-visual-studio-versions/2059/7 "2019-07-19T23:15:18Z")

</div>

> [@dzenanz](#):
>
> That information is contained [here](https://github.com/InsightSoftwareConsortium/ITK/blob/087691fa5930b0608719cfa0c6d172de9cc3995d/Modules/Core/Common/include/itkMacro.h#L128-L173)

It is true that this is duplication of information, especially the detailed comments. Maybe they could be moved to the markdown file and the markdown file could be linked from the CMake file.

---

<div class="post-metadata">

### Author: ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)
#### Post date: [July 22, 2019, 3:09pm UTC](https://discourse.itk.org/t/list-of-supported-visual-studio-versions/2059/8 "2019-07-22T15:09:16Z")

</div>

The [documentation page](https://github.com/InsightSoftwareConsortium/ITK/blob/master/Documentation/SupportedCompilers.md) has now been merged. I also added a link to it on the [Wiki page](https://itk.org/Wiki/ITK/Configuring_and_Building/VisualStudio).

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.itk.org/user_avatar/discourse.itk.org/lassoan/32/27_2.png) [@lassoan](https://discourse.itk.org/u/lassoan)
#### Post date: [July 22, 2019, 3:27pm UTC](https://discourse.itk.org/t/list-of-supported-visual-studio-versions/2059/9 "2019-07-22T15:27:58Z")

</div>

This is great, thank you very much.

Is there a final conclusion, official statement on Visual Studio v142 toolset support? If there is, then it would be nice to see it on the github page instead of sending people to read a forum topic.

---

<div class="post-metadata">

### Author: ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)
#### Post date: [July 22, 2019, 3:58pm UTC](https://discourse.itk.org/t/list-of-supported-visual-studio-versions/2059/10 "2019-07-22T15:58:54Z")

</div>

Current status: it does not work out of the box. We could link to Visual Studio bug report, but that is not too much of an improvement.
