CUDA Samples build time error - Windows 10 and Cuda 10.1 Toolikt

Windows 10 Home
NVIDIA GTX1080 with Max Q

I have VS2017 installed
I have Cuda 10.1 installed

error : Designtime build failed for project ‘C:\ProgramData\NVIDIA Corporation\CUDA Samples\v10.1\0_Simple\matrixMul\matrixMul_vs2017.vcxproj’ configuration ‘Debug|x64’. IntelliSense might be unavailable.
Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate.

I am not able to run simple matrix multiplication

How do i debug this to get more help ?

Hello I was running into the same issue and it is only due to the file location of some dependencies If what I believe is the issue the following steps should resolve it till this new wave has settled in and every link is made.

Step one:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\extras\visual_studio_integration\MSBuildExtensions
Copy everything in the MSBuildExtensions folder.

C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\BuildCustomizations
Paste it inside the BuildCustomizations folder


This worked for me too.
Visual Studio Community 2019 & CUDA 11.2