I have Windows 8 machine. I had visual studio 2010 and Visual Studio 2012 installed on my computer.
I installed the visual studio 2013 preview, and the 8.1 WDK.
After I installed Visual Studio 2013, my old project in C++ wasn't able to be compiled (in Visual Studio 2012) so I uninstalled Visual Studio 2013 and the WDK.
But the issue remains, i cannot compile my C++ project. I get error message such as "Windows.h cannot be found" I looked at the include directory and saw that I have the following include: $(WindowsSDK_IncludePath). but when I open "Macros>>" I can't this macro "$(WindowsSDK_IncludePath)".
I tried to uninstall Visual Studio 2010 and 2012 and reinstall them but it didn't fix the issue.
Does anyone know what might cause this issue and how to resolve it?
In order to build windows 8 apps in visual studio 2013, you must be using windows 8.1. (defined here). This is possibly the issue.
You also wouldn't see the windows sdk include path because the wdk would be uninstalled. I would recommend one of two things
I know, its quite silly.