I tried on various versions from 2023r2 back to 2019r1.1 and none of them worked. Desktop and web apps work just fine. Building the console app works as well, just can’t start in debug mode. I could not find any more details in any logs.
Check the DebugFolder property of the build settings, and clear it out if there is anything unusual in there. A nonexistent folder can cause this error.
Thanks, I tried to set it to a few different things like a clean folder on my desktop, documents and temporary. None of them seemed to make a difference.