'VS Code can't detect .NET Core SDK

I've been getting this error for the last 3 days, I've already tried to reinstall VS Code and the .NET Core SDK, but nothing worked.

Here is th error



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source