2013-06-23, 01:30
Ah, ok... see section 9 of the windows compile guide... http://wiki.xbmc.org/index.php?title=HOW...or_Windows
9 Compile error on Win8
If you get the message that "Microsoft.Cpp.Default.props" can't be found there's probably a key missing in the registry. MSBuild uses the VCTargetsPath to locate default cpp properties but cannot because the registry lacks this key.
Check for the key
Launch regedit
Navigate to HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersion\4.0
Inspect VCTargetsPath key. The value should be "$(MSBuildExtensionsPath32)\Microsoft.Cpp\v4.0\"
To fix
Launch regedit
Navigate to HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersion\4.0
Add string key VCTargetsPath key
Set Value to "$(MSBuildExtensionsPath32)\Microsoft.Cpp\v4.0\"
Think it's sorted for me... building now.
I'm on Win7 by the way.
Cheers
9 Compile error on Win8
If you get the message that "Microsoft.Cpp.Default.props" can't be found there's probably a key missing in the registry. MSBuild uses the VCTargetsPath to locate default cpp properties but cannot because the registry lacks this key.
Check for the key
Launch regedit
Navigate to HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersion\4.0
Inspect VCTargetsPath key. The value should be "$(MSBuildExtensionsPath32)\Microsoft.Cpp\v4.0\"
To fix
Launch regedit
Navigate to HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersion\4.0
Add string key VCTargetsPath key
Set Value to "$(MSBuildExtensionsPath32)\Microsoft.Cpp\v4.0\"
Think it's sorted for me... building now.
I'm on Win7 by the way.
Cheers