MSBuild in previous versions of the .NET Framework was installed with it, but they decided to install it with Visual Studio or with the BuildTools_Full.exe package.
The path to MSBuild when installing with the .NET platform:
C: \ Windows \ Microsoft.NET \ Framework [64 or empty] [framework_version]
The path to MSBuild when installing with Visual Studio:
C:\Program Files (x86)\MSBuild[version]\Bin for x86 and, C:\Program Files (x86)\MSBuild[version]\Bin\amd64 for x64.
BuildTools_Full.exe , MSBuild Visual Studio.