I have a .Net 7 web api that won't launch from Visual Studio. If I do a dotnet run it will launch the browser fine. The debug console only displays the following error:
The program '[5468] AdminService.exe: Program Trace' has exited with code 0 (0x0). The program '[5468] AdminService.exe' has exited with code 4294967295 (0xffffffff).
There's nothing in the Event Viewer for errors and no other log file errors that I can find.
I've tried deleting the hidden .vs folder. I've tried updating Visual Studio to the latest version (17.5.4) and restarting my machine and VS.
Any ideas on something else I can try?