When building an .shfbproj from the "Developer Command Prompt for VS2012" the build fails:
P:\XsdDoc.git\Help> msbuild Help.shfbproj
SHFB : error BE0071: Unable to locate information for the project framework version 'v4.0.30319' or a suitable redirected version on this system [P:\XsdDoc.git\Help\Help.shfbproj]
Building from a regular command prompt works as expected.
P:\XsdDoc.git\Help> msbuild Help.shfbproj
SHFB : error BE0071: Unable to locate information for the project framework version 'v4.0.30319' or a suitable redirected version on this system [P:\XsdDoc.git\Help\Help.shfbproj]
Building from a regular command prompt works as expected.