'Microsoft.NET.Sdk' specified could not be found
Symptom
A 'Microsoft.NET.Sdk' specified could not be found error is shown when you build the site.
Solution
- Go to Visual Studio Installer.
- Click Visual Studio Build Tools 2019 > Modify > Individual Components tab.
- Check .NET SDK > Modify.
- Restart.