title: I just installed visual studio and ran into some errors specifically The WindowsSDKDir property is not defined. Some build tools may not be found
body: <p>Just installed visual studio 2019 on windows 10, was using visual studio for the first time and ran into the following error, It's a basic hello world console program that I tried to run.</p>
  <blockquote>
  <p>error C1083:  Cannot open include file: 'corecrt.h': No such file or directory
  <br>
  1&gt;Done building project &quot;ConsoleApplication2.vcxproj&quot; -- FAILED.</p>
  </blockquote>
  <blockquote>
  <p>Severity   Code    Description Project File    Line    Suppression State
  Warning MSB8003 The WindowsSDKDir property is not defined. Some build tools may not be found.   ConsoleApplication2 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets  434</p>
  </blockquote>
  <p>I tried searching for this error over YouTube and of course here, and also Microsoft's offical forum but couldn't find anything.</p>
  <pre class="lang-cpp prettyprint-override"><code>#include &lt;iostream&gt;
  using namespace std;
  int main()
  {
      cout &lt;&lt; &quot;Hello World!\n&quot;;
  }
  </code></pre>
  <p>the code looks just fine.</p>