NSight installation not finding VS2012

Hi,

I’m installing NSight using the CUDA 5.5 installer, to my Windows 7 64 bit machine with MS Visual Studio Professional 2012 installed.

The majority of the installation works fine, but in the NSight Visual Studio Edition Summary (post-installation) I get:

Not Installed:
-Nsight for Visual Studio 2012
Reason: VS2012 was not found
[…]
-Nsight C++ AMP Debugger for Visual Studio 2012
Reason: VS2012 was not found

The ‘more information’ link they provide takes me to an FAQ page which tells me the reason VS2012 isn’t found is that it isn’t installed. Clearly, this is not the case.

I’m a bit of a n00b with this (especially with Windows, my experience in developing code has been entirely on Linux to date) so go gentle please - but can anyone recommend some steps to take to make Nsight ‘see’ VS2012 during installation? Or recommend some diagnostics to find why this might be happening?

Some (maybe useful) version info:

  • Installing NVIDIA CUDA 5.5.20
  • Installing Nsight Visual Studio Edition 3.1
  • Using MS Visual Studio Professional 2012 version 11.0.50727.1
  • with MS .NET Framework 4.5.50938 although I’m pretty sure 3.5.1 is installed too
  • on Windows 7 Home Premium SP1 64 bit and up-to-date

Thanks in advance,

Tom Clark

Hello Tom,

The installer checks a couple of registry keys in order to find out if Visual Studio is installed. Can you follow the steps below to check this? (this is what the installer checks)

  1. Run regedit, you can do so by clicking on "Start" and typing regedit in the "Search programs and files" text field
  2. Browse to ``` HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio1.0 ``` (click/select that folder)
  3. There should be (on the right hand side) a "ApplicationID" with the name "VisualStudio", we check for this in the installer
  4. Also, there should a "InstallDir" which has the path to the Visual Studio installation (most likely C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\
  5. From the above path, we check that devenv.com exists

If you wish, you can right click on the regedit path (in step #2) and select export, and attach it and I can take a look.

Cheers

Hi,

I’m having a similar issue, but with Visual Studio 2013 Express Desktop and the Nsight standalone installer. I’m using the latest 4.0 RC1, but the installer says VS could not be found, hence the corresponding feature would not be installed: "“Nsight for Visual Studio 2013 will not be installed, Requirement not found: Microsoft Visual Studio 2013 was not found.”

I have checked the registry path HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\12.0 and indeed, the ApplicationID string was not there. I have attached the folder for reference. [url]https://dl.dolphin-emu.org/nbx/visualstudio.reg[/url] (haven’t found a way to attach the file to this post, sorry!)

I know the OP is talking about the CUDA installer, but the issues seemed similar enough for me not to open an additional thread about this.

Regards,
Tony

Hello -

I have exactly the same situation as neobrain. Visual Studio 2013 Express Desktop and the Nsight standalone installer. VS2013 not detected.

At the reg path HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\12.0 I only have “Source Directories” and “UpgradeCheckScheduledTimestamp”. No “ApplicationID” or “InstallDir”.

Also I have no “devenv.com” file in “C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE”

E : I think I attached the export. I had to rename it to txt to get the forum to accept it.
vs.txt (34.3 KB)

Hi,

neobrain, Tharg, the issue you are running into is different than what Tom is running into.
We do not support Express editions of Visual Studio as it doesn’t support extensibility points. You will need to upgrade to at least standard/professional edition.

Tom is on VS 2012 Professional edition and should work. I am waiting to see if we can get more info from Tom.

Thanks

:(

Thanks for the info, rafi.

Thanks for the info indeed. I wish this was documented better, since I could not find any reference to that requirement. Either way, that’s off-topic now - sorry!

I understand this can be unfortunate, but not much we can do about it :-(
BTW, it is in the docs and also in the “requirements” page: https://developer.nvidia.com/nsight-visual-studio-edition-requirements

Hello,

I have similar problem with this before but i have VS 2012 Ultimate i have installed all what is in “requirements” page. And still nsight dont see my VS. Link to my reg

I have GTX 560 , WIN7 64bit, Phenon 2 x4 965

Installed:
- Nsight Monitor and HUD Launcher
- Nsight C++ AMP Target Support for MSVSMON
Not Installed:
- Nsight for Visual Studio 2012
Reason: VS2012 was not found
- Nsight for Visual Studio 2010
Reason: VS2010 was not found
- Nsight for Visual Studio 2008
Reason: VS2008 SP1 was not found
- Nsight C++ AMP Debugger for Visual Studio 2012
Reason: VS2012 was not found

weird thing like i post before nsight dont install on my pc, but when i open VS2012 Ultimate. In new project menu i found NVIDIA and there was my cuda project, so its weird thnig the installation program write cant install but its installed…

I have the same problem, Visual Studio 2012 Ultimate, but nsight can’t find my installation. My registry looks ok, and devenv.com is located in the folder specified by InstallDir.

Unlike bartekh above, I have no Cuda templates in the new project wizard.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio1.0]
"UpgradeCheckScheduledTimestamp"=hex(b):70,84,0d,b8,d3,4b,cf,01
"Source Directories"="C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\crt\src\;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\crt\src\vccorlib\;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\src\mfc\;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\src\atl\;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include"
"InstallDir"="C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\"
"ApplicationID"="VisualStudio"
"ThisVersionDTECLSID"="{059618E6-4639-4D1A-A248-1384E368D5C3}"
"ThisVersionSolutionCLSID"="{7751A556-096C-44B5-B60D-4CC78885F0E5}"
"SecurityAppID"="{179CAEE3-011C-424A-9A43-011AB589A7CC}"
"StartMenuFolder"="C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Visual Studio 2012\"
"ShellFolder"="C:\Program Files (x86)\Microsoft Visual Studio 11.0\"
"RestoreAppPath"=dword:00000001
@=""
"ConfigurationChanged"=hex(b):c0,8f,85,b7,d3,4b,cf,01
"SetupCommandLine"="/setup"
"SplashHash"=hex:01,00,00,00,d0,8c,9d,df,01,15,d1,11,8c,7a,00,c0,4f,c2,97,eb,\
  01,00,00,00,94,51,b9,ba,d7,c1,82,4b,8e,5c,72,e0,d5,6b,ac,c2,04,00,00,00,02,\
  00,00,00,00,00,10,66,00,00,00,01,00,00,20,00,00,00,47,d1,b6,33,e8,28,f9,8a,\
  9e,9b,99,c5,21,99,97,e1,7e,11,94,41,0b,2a,21,22,3f,2a,17,70,b5,6e,c5,cd,00,\
  00,00,00,0e,80,00,00,00,02,00,00,20,00,00,00,dd,ae,dc,ba,d1,a2,62,ae,8c,3d,\
  3e,15,27,10,2d,f0,1f,e8,c4,14,1a,f2,f6,49,c4,ea,ff,6a,ad,f6,05,15,f0,00,00,\
  00,7e,ab,b1,9a,e6,3a,71,b9,43,04,41,9b,1f,4d,f4,00,c9,da,65,f5,67,43,11,0d,\
  a6,80,f1,1a,ff,be,fd,12,04,31,9d,92,62,f0,ff,1c,b1,d0,3c,62,9b,f0,5c,0f,be,\
  c5,0b,93,24,8a,fb,07,27,e2,86,f0,1e,db,a8,3a,6b,90,e7,a5,5b,96,d8,ef,9d,71,\
  94,c1,5a,c8,2a,dc,a2,7c,29,b7,6e,78,f6,23,20,af,5b,9e,ce,4d,bf,70,57,d2,21,\
  05,f3,19,a2,d9,15,61,9e,c9,fe,fa,8a,c5,86,2d,3b,b0,8d,18,35,4b,3e,80,c0,03,\
  50,85,53,88,27,fc,ef,a4,19,2e,1b,80,7c,2f,33,1f,c6,d6,bd,c0,b6,37,35,fc,35,\
  7c,7e,a5,12,0f,3d,f1,22,71,69,0f,05,13,5b,9c,65,ed,3c,a1,1b,58,9f,26,59,50,\
  fe,0c,ff,9a,85,06,e3,b4,38,8b,54,c3,a6,b7,a5,0d,0c,20,d5,cd,c2,f4,03,d9,9c,\
  16,09,bc,8c,93,13,01,8c,ee,ba,5e,58,90,d9,ed,20,7f,41,c9,d3,c2,e5,93,bb,e6,\
  60,4f,b4,b3,e5,10,98,a8,69,0e,09,89,63,6e,68,ae,40,00,00,00,0f,74,35,8c,67,\
  61,ea,ce,b9,38,e3,2b,95,1f,6a,4a,f3,a5,a0,9e,37,3b,aa,d5,e7,08,f9,df,77,3d,\
  b7,76,a9,6f,ec,98,29,ff,3e,ee,0b,67,a8,72,e6,be,89,a3,cc,a4,87,63,76,8b,f7,\
  9c,70,e6,36,6a,30,8a,0c,6a,09,04,00,00

Hi,

bartekh, there’s slight differences. The CUDA installer is the one that installs the VS CUDA templates (for File → New…) and the Nsight installer is called silently and installs Nsight.

pepzi, bartekh, can you run the following command and attach (or PM me separately) for the generated file? (note that you need to run it with the Nsight installer (not the CUDA big installer that includes the Nsight one).

msiexec /i "<Nsight_installer_name>.msi" /l*v "installer.log"

Thank you