My code won't compile, it can't include windows.h

I have windows 8.1 I am using unreal 4.9 and I have VS community 2015.
Every time I try to compile my code I get the same errors.

Error 4 error : Failed to produce item: C:\Users\Cody\Documents\Unreal Projects\MyProject\Binaries\Win64\UE4Editor-MyProject.dll C:\Users\Cody\Documents\Unreal Projects\MyProject\Intermediate\ProjectFiles\ERROR MyProject

Error 3 error C1083: Cannot open include file: ‘windows.h’: No such file or directory c:\program files\epic games\4.9\engine\source\runtime\core\public\Windows\MinWindows.h 62 1 MyProject

Error 5 error MSB3073: The command ““C:\Program Files\Epic Games\4.9\Engine\Build\BatchFiles\Build.bat” MyProjectEditor Win64 Development “C:\Users\Cody\Documents\Unreal Projects\MyProject\MyProject.uproject” -rocket” exited with code -1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets 38 5 MyProject

Error 1 error RC1015: cannot open include file ‘windows.h’. C:\Program Files\Epic Games\4.9\Engine\Source\Runtime\Launch\Resources\Windows\PCLaunch.rc 10 1 MyProject

Error 2 error RC1015: cannot open include file ‘windows.h’. C:\Program Files\Epic Games\4.9\Engine\Source\Runtime\Core\Resources\Windows\ModuleVersionResource.rc.inl 3 1 MyProject

I have tried reinstalling SDK, VS, and unreal, I have tried changing the include path. I have tried running it through unreal and VS. None of it has worked.

that doesn’t explain why it won’t compile through unreal though.

I just created a project in VS 2013. I got the same errors.

Ok, I know for a fact that it has nothing to do with unreal. I will go to the VS website.

I think UE is not working with VS 2015 yet, 4.9 neither.
https://forums.unrealengine.com/showthread.php?77332-UE4-and-Visual-Studio-2015

This post in the forum looks related. https://forums.unrealengine.com/showthread.php?98-Cannot-open-include-file-windows-h