How do I fix the missing Nsight menu in Visual Studio 2010?

After installing CUDA 5.0 (release) in Visual Studio 2010 trial, I can create, open, and compile CUDA projects. However, I cannot debug because the Nsight menu is not showing. It usually appears between menus Team

and Data

.

How can I get the Nsight menu? I tried uninstalling and reinstalling the trial version. The computer has an older installation of Windows 7 and has had Visual Studio 2008 and CUDA installed in the past.

Visual Studio with open CUDA project created with CUDA wizard but no Nsight menu:

Visual Studio with an open CUDA project, created with the CUDA wizard, but with no Nsight menu

Update:

After reinstalling Visual Studio, some options, such as the list of recently opened projects, are carried over from the old installation. Since the old settings might be part of the problem, I tried a more thorough uninstall where I first uninstalled CUDA, then Visual Studio, and then other NVIDIA software on the machine. Then I removed Visual Studio and all NVIDIA folders from Program Files, Program Files (x86) and Application Data. Then I looked in the registry for the "Visual Studio" "VisualStudio", NVIDIA and CUDA keys and deleted whatever I found. Then I reinstalled Visual Studio and CUDA 5. It didn't help. Actually, it got a little worse because I lost the syntax highlighting for .cu files. Creation, opening and compilation of projects still worked. So, I uninstalled CUDA 5 and installed CUDA 4.2.9. It "fixed "both problems.

+3


source to share


1 answer


Installing CUDA 4.2 first and then installing CUDA 5.0 from above (without uninstalling CUDA 4.2), I have a working environment where I can build, open, and debug CUDA 4.x and CUDA 5.0 projects. Syntax highlighting also works for both 4.x and 5.0 projects.



Visual Studio with Nsight menu

+1


source







All Articles