I have to second Michael Sanchez’s bug report:
Retargeting does not work properly, because the project file contains a hard-link to Windows 8.0 SDK that does not get updated through automatic retargeting. One needs to manually fix this bug in order to compile the examples *IF* one does not have Windows 8.0 SDK installed but the (officially available) Windows 8.1 SDK.
Fixing the bug in the project file allows the solution to compile. The lines in the project files that need fixing are line 39 and line 43.
The bug will not pop up if you have an older 8.0 installation on your system, obviously. Which might explain why CR Milan was unable to reproduce the problem.
Marc