If you use VS 2017 or higher version of VS(like 2019), please open Visual Studio Installer -> find Visual Studio that the version you use -> Reload Project –> Rebuild Project and check if it could work this time. Please right-click your project and choose Unload Project -> right-click and then choose Try to unload project and then reload project. Please check the configuration and platform of your Visual Studio from standard menu and open Properties Window of your project like #2 or #3, then on the top of the Property Page make the Configuration and Platform corresponding to your standard menu setting. Try to make configuration of platform consistent. Rebuild the project -> close and restart VS to check if this issue could be solved. Uncheck “Inherit from parent or project defaults” ->Ĭheck “Inherit from parent or project defaults” again -> OK -> Properties -> Configuration Properties -> VC++ Directories -> Executable Directories -> click on the drop down and select “ Edit” -> Try to refresh VC++ Executable Directories.
General -> Windows SDK Version -> choose the corresponding version of your computer’s operating system.(like 10.0 latest installed version) Properties -> Configuration Properties -> Please open your C++ project -> right-click your project -> Try to choose a corresponding Windows SDK version. Reset all settings -> Next -> choose “ No, just reset settings, overwriting my current settings” -> select Please open Visual Studio -> Tools -> Import and Export Settings... -> select I suggest you could refer to below steps to try to troubleshoot this issue. Installing VS? Which version of Windows system do you use? Which version of Visual Studio do you use? When did your issue appear, for example, change to use other version of operating system or maybe just create a new project after
According to your description, I might need to confirm some information from you.