MSBuildToolsPath is not specified for the ToolsVersion

Incorrect values in your registry can lead to this error