Failed to start development server

This morning I am met with this error after updating to 1.16.1:

**


**
Was working without any issues yesterday, how can I troubleshoot this issue?

According to the error you do not have .NET 7 SDK installed. You can check it using dotnet --info command in your console.

Something must have been corrupted I forcefully removed .net 7 and reinstalled and it's working now.