Visual Studio Code – Concurrency::task.wait() throws invalid_operation
Concurrency::task.wait() throws invalid_operation exception: "Illegal to wait on a task in a Windows Runtime STA." This exception occurs since ~14th November 2022 and seems to be Microsoft update related. The exception does not occur, when building in Debug mode. Edit:…