CUDA program error

C:\ProgramData\NVIDIA Corporation\CUDA Samples\v5.0\1_Utilities\deviceQuery\deviceQuery_vs2010.vcxproj : error : Unable to read the project file “deviceQuery_vs2010.vcxproj”.
C:\ProgramData\NVIDIA Corporation\CUDAsamples\v5.0\1_Utilities\deviceQuery\ deviceQuery_vs2010.vcxproj(54,5): The imported project “C:\Program Files (x86)\MSBuild\Microsoft.Cpp \v4.0\BuildCustomizations\CUDA 5.0.props” was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

I had the same problem after updating Nsight. To solve it, I initially remove those lines from the vcxproj, open the project, set the main project, then CUDA was not working because the .targets was missing, then I added it manually but it did not work. Installing Nsight with CUDA bundle solved the issue.