Running Blender on Windows 11 from VS 2022 fails with "The procedure entry point SetCheckUserInterruptShared could not be located"

I’m trying to compile and run Blender from master and I get the following error:

C:\Work\blender-git\build_windows_Full_x64_vc17_Release\bin\Debug\blender.exe (process 43396) exited with code -1073741511.
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.

and a dialog box pops up with

blender.exe - Entry Point Not Found
The procedure entry point SetCheckUserInterruptShared could not be located in the dynamic link library C:\WINDOWS\SYSTEM32\dbgeng.dll.

I’m running Windows 11 Pro 22H2 (22621.11.05) with VS22 (17.4.4), Windows 11 SDK (10.0.22621), and Windows 11 Driver Kit (10.0.22621.382)

After much googling I found this thread on github and as per the comment, uninstalling Geforce Experience fixed the issue.