Cuda 10.2 installation failed for visual studio integration

I have tried installing CUDA 10.2. However it fails at Visual studio integration step and all other components are listed as Not installed. I need to be able to have visual studio integration step installed as I have to use CUDA in visual studio for coding purposes.
I have following version of Visual studio installed :
Visual Studio professional 2019 Version 16.7.5
I have following graphics card which should be compatible with CUDA 10.2 on Windows 10 operating system:
NVIDIA quadro P2200 Version 461.55

I was able to solve the issue by following suggestion provided by @anon41245154 here:
CUDA 9.1 cannot install due to failed Visual Studio Integration - #6 by ubejd.
As I had visual studio 2019 professional so I copied the MSBuildExtensions to following location on my system:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\BuildCustomizations.
Thank you @anon41245154 for your valuable suggestion!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.