NVIDIA Nsight Visual Studio Edition 2025.1.0.25002 Setup stuck on "Configuring Visual Studio 2022 settings for Nsight Visual Studio Edition"

I’m trying to install NVIDIA Nsight Visual Studio Edition 2025.1.0.25002 and I get stuck on this “Configuring Visual Studio 2022 settings for Nsight Visual Studio Edition”. I let it run over night and it was still in same place it was before. I looked at the log from the msi install and noticed it was running a batch script in the %TEMP% folder and I had two entries in the script for 2022 Preview and 2022 and they were trying to execute something like this “C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\devenv.com” and I ran the exact command that was in the script and devenv.com just hung it didn’t do anything. However replacing it with devenv.exe there was no issues.

1 Like

Is your VS2022 version 17.13.0? This is known that there is installation issue with latest VS2022.
Our dev is actively working on it.

Please use previous VS2022 version, like 17.12.4 etc.

Ah yes I have Visual Studio 2022 Enterprise 17.13.0 and Visual Studio 2022 Enterprise Preview 17.14.0 Preview 1.0.

Hello, have there been any progress solving this problem? I am trying to set the environment up in a new computer and Visual Studio installer can only install latest version which is 17.13 or 17.14 preview, and they both won’t work as I tried installation of CUDA 12.6 and 12.8 a few days ago.

Hi,
This is an Microsoft Visual Studio issue. Developer Community

You can choose “Custom” installation and deselect “Nsight VSE” and “Visual Studio Edition” to continue.

For “Visual Studio Edition”, if you need to install separately

  • After the hang, launch ‘Task Manager’ and kill all running instances of devenv.exe
  • Manually launch a Developer Command Prompt and run ‘devenv.exe /updateconfiguration’

For “Nsight VSE”
You may have to wait update from Visual Studio or our next package.

1 Like

With Visual Studio 13.1 and Preview 14, the same thing, totally stuck on NVSE installing phase.

I tryed to watch for logs and in my short experience with Windows logs it’s not clear what error is this but for sure this is the last step on wich the installer just keept stuck.

Any way to analyze a memory dump?

This problem applies to cuda_12.8.0_571.96_windows and cuda_12.8.0_windows_network. Antivirus is not the issue, for sure. Problem persist with Restoring Point enabled and disabled, even uninstalling the package from the Configuration/Add and Remove Programs tool, NVSE gets stuck.

I also had a problem installing CUDA Toolkit 12.8 it got stuck. I figured I’d try a manual install, downloaded the full 3 GB install file, where I just unchecked Nsight VSE. The install went fine. After restarting the laptop, I was then able to create the first cuda program in Visual Studio 2022 v17.13.2. I then ran the manual install of CUDA Toolkit 12.8 unchecking everything and checking only Nsight VSE, which then installed itself into VS. Restarting the laptop and opening Visual Studio 2022, I was able to run Start CUDA Debugging (Next-Gen) in the Extensions, Nsight menu.

I have a new Dell Precision 5390 (RHV40) laptop with Intel Core Ultra 7 CPU, 165H. Windows 11 Pro. 16/512 GB RAM/SSD. NVIDIA RTX 500 Ada (4 GB) Lovelace architecture, compute capability 8.9

I had a similar issue using the combined installer for CUDA (cuda_12.8.0_571.96_windows.exe). The installer would just hang indefinitely as soon as it encountered anything Visual Studio related as is also described in these issues: CUDA Install hangs forever, Windows 10, GeForce 920m and Issue Installing NVIDIA Nsight Visual Studio Edition 2025.1.0.25002 and CUDA Toolkit.

I found a workaround as described below:

What worked for me?

  1. Run the Nvidia installer as per usual.

The installer hangs indefinitely at either “Nsight VSE” or “Visual Studio Integration”.

  1. After it has been hanging for a while (I gave it some extra time just to be sure it had actually done its Visual Studio thing), open Task Manager.

Visual Studio 2022 (Preview) with the VS logo will show up in the list of processes.

  1. Kill the VS process.

The Nvidia installer now finishes normally.

So far it seems that everything, including Visual Studio integration, works as without issues and that any VS settings have been updated correctly. At least, finally, I was able to build my C++/CUDA project after going through the procedure described above, whereas before doing so, it didn’t work.

Note: I was in the situation that I didn’t need Nsight or Nsight VSE right now, but I did however need the Visual Studio integration, so I tried all kinds of things, including choosing “Custom” install and deselecting Nsight, Nsight VSE, etc. This workaround may or may not work with Nsight, Nsight VSE and other components enabled in the install.

It seems however that the root cause of the issue will be resolved with the next Visual Studio release (17.13.2 and 17.14 Preview 2) as described here: Developer Community

We will find out…

The latest CUDA 12.8 Update 1 release has fixed the issue. Feel free to have a try !

Looks like it works thank you.