CUDA not installing correctly for it to appear in Microsoft Visual Studio


There is no NVIDIA here.


Also, here is the very specific version I am using.


There is no CUDA here yet.

Thanks. I’ll get a community version to have a try.

Hi, @altamimisajad0

We internally tried the exactly VS2022 community 17.8.1 on several machines, but we still can’t reproduce your issue. It is hard to tell what happened on your machine.

Is there something I could do about this?

Also where do I look to see these products?

Hi, @altamimisajad0
Here is a workaround you can try.

  1. copy the 4 files under folder C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\extras\visual_studio_integration\MSBuildExtensions to VS2022 folder: C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations

  2. mklink /D “C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\NVIDIA\CUDA 12.3 Wizards\12.3” “C:\ProgramData\NVIDIA GPU Computing Toolkit\v12.3\extras\visual_studio_integration\CudaProjectVsWizards\17”

  3. In VS2022 developer command prompt, run cmd
    devenv /updateconfiguration

This topic was automatically closed after 11 days. New replies are no longer allowed.