# Visual studio update 15.9.17 breaks CUDA support

**URL:** https://discourse.cmake.org/t/visual-studio-update-15-9-17-breaks-cuda-support/214
**Category:** Usage
**Created:** [November 15, 2019, 2:36pm UTC](https://discourse.cmake.org/t/visual-studio-update-15-9-17-breaks-cuda-support/214 "2019-11-15T14:36:27Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mgagnon](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/m/f4b2a3/32.png) [@mgagnon](https://discourse.cmake.org/u/mgagnon)
#### Post date: [November 15, 2019, 2:36pm UTC](https://discourse.cmake.org/t/visual-studio-update-15-9-17-breaks-cuda-support/214/1 "2019-11-15T14:36:27Z")

</div>

After the 15.9.17 update of Visual studio 2017 Professionnal, CMAKE was no longer able to find CUDA on my computer.

I figured out that the 15 9.17 update had created a new folder named  
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise where normally there only was a C:\Program Files (x86)\Microsoft Visual Studio\2017\Professionnal

After further investigation, I figured out that all CUDA related files were missing from  
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations compared to its Professionnal counterpart. After copying these files, CMAKE was able to find CUDA again,

I figured I’d share this information in case someone else experiences the same problem since I haven’t found anythying relevant about this issue on the web.

---

<div class="post-metadata">

### Author: ![brad.king](https://discourse.cmake.org/user_avatar/discourse.cmake.org/brad.king/32/11_2.png) [@brad.king](https://discourse.cmake.org/u/brad.king)
#### Post date: [November 15, 2019, 2:55pm UTC](https://discourse.cmake.org/t/visual-studio-update-15-9-17-breaks-cuda-support/214/2 "2019-11-15T14:55:48Z")

</div>

The CUDA content of the BuildCustomizations directory is populated by the NVIDIA CUDA Toolkit Installer. That may need to run again since your update switched editions of VS from Professional to Enterprise.
