Problem :
I have recently installed the Visual Studio 2015 on my Windows 10 laptop.
I have tried to clone the repository with the solution created with the same version of Visual Studio (update 3) on my another PC, always with windows 10.
But when I try to build the solution on my laptop I often face the below error:
c:\program files (x86)\microsoft visual studio 14.0\vc\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory
I have confirmed that the $(UniversalCRT_IncludePath) refers to below path:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt
But the path is missing on my laptop. Instead of that path I have the below one:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10150.0\ucrt
So I guess that window version is different. May be this is true, as on my laptop I didn't installed the 1511 windows updgrade, but in the other pc is all installed correctly.
So my question is how can I refer to the corecrt.h file in both the pc without making the mess with the paths. I want to avoid the hard-link these path as they are pc dependent.
How can I solve my issue? I know one thing that I can update my laptop to the same windows version but I want to avoid it for many reasons.