Solution of unable to open source file “StdAfx. H” in vs2013 / 2012

Unable to open source file “stdafx.h”. Unable to open source file “stdafx.
As shown in figure:

Baidu, for VS2010 there are such methods can be solved:
Expand C/C++ in Project Properties, select General, and add “$(projectDir)” in the Additional Includes directory.

As you can see, it doesn’t work at all in my VS2013.

And it worked:
The precompiled header file is its own, I think VS2013/2012 includes “stdafx.h” by default, so I don’t have to write it again


Read More: