Fresh installed Visual Studio 2017 won’t create C++ project with error 0x80041fe2

I just installed Visual Studio 2017 (current time: August 2018). I only need C++ so I picked C++ component and deselected everything listed in “optional” items. Then after the installation, I cannot even create any C++ projects including both console and desktop projects. It gives me a error dialog of “Exception from hresult 0x80041fe2”. I … Read more

Missing vc_runtimeminimum_x86.msi and installation won’t work

Go to Control Panel–Programs and Features, uninstall the Visual C++ 2015 Redistribute items. After that, run the tool: https://support.microsoft.com/en-us/help/17588/fix-problems-that-block-programs-from-being-installed-or-removed. Re-run the VS 2017 installer as administrator, then click the icon besides ‘Launch’ and choose ‘Repair’ to repair the VS 2017.

Cannot open include file: ‘stdio.h’ – Visual Studio Community 2017 – C++ Error

There are three ways to solve this issue. Ignore Precompiled Headers #1Steps: Project > Properties > Configuration Properties > C/C++ > Command Line > in the Additional Options box add /Y-. (Screenshot of Property Pages) > Ok > Remove #include “stdafx.h” Ignore Precompiled Headers #2Steps: File > New > Project > … > In the Application Wizard Window … Read more