Cannot find corecrt.h: $(UniversalCRT_IncludePath) is wrong
<p>I've just installed Visual Studio 2015 on my working laptop with Windows 10.</p>

<p>I've cloned a repository with a solution created with the same version of Visual Studio (update 3) on another PC, always with windows 10.</p>

<p>When I try to build the solution on my laptop I obtain the following error:</p>

<pre><code>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
</code></pre>

<p>In <a href="https://social.msdn.microsoft.com/Forums/vstudio/en-US/86bc577b-528c-469c-a506-15383a44c111/missing-corecrth-from-the-default-include-folder-for-vs215?forum=vcgeneral">this page</a> I've read that I must add <code>$(UniversalCRT_IncludePath)</code> to my include paths, but even in this case I obtain the same error.</p>

<p>I've checked and <code>$(UniversalCRT_IncludePath)</code> refers to this path:</p>

<pre><code>C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt
</code></pre>

<p>This path is missing on my laptop. Instead I've this one:</p>

<pre><code>C:\Program Files (x86)\Windows Kits\10\Include\10.0.10150.0\ucrt
</code></pre>

<p>So it seems that window version is different. Probably this is true, because on my laptop I didn't installed the 1511 windows updgrade, while in the other pc is all installed correctly.</p>

<p>My question is how can I refer to <code>corecrt.h</code> file in both pc without make a mess with paths. I'd like to avoid to hard-link these path because they are pc dependent. and I don't understand why in my laptop the path is wrong considering that it should be system dependent and not cabled into solution.</p>

<p>How can I solve this issue? I know that I can update my laptop to the same windows version but I'd like to avoid it for many reasons.</p>

<p>-- EDIT</p>

<p>I've noticed that that I have this path:</p>

<pre><code>C:\Program Files (x86)\Windows Kits\8.1\Include\10.0.10240.0\ucrt
</code></pre>

<p>It has the same <code>10.0.10240.0</code> version but related to another windows kit version, so maybe there's some problem in this case. On my laptop I've also Visual Studio 2013, so maybe it can came from it, but I cannot remove it because I'm maintaining another project with Visual Studio 2013 and I cannot remove it yet.</p>

<p>Maybe in Visual Studio 2015 folder I can set explicitly the <code>$(UniversalCRT_IncludePath)</code> in some .bat file (vcvarsall.bat or similiar) but I don't know which file and in which position.</p>