I am getting this error whenever I try to debug my project from visual studio.
I tried adding these settings to launchSettings.json but still no difference.
I had installed another file editor (Code Writer) that set itself as the default program for a whole host of files that were previously set to Visual Studio. Between a combination of doing a VS Installer Repair, and manually changing other associations back to VS, and a reboot, it's working for me again.