If you set your project to have a precompiled header, the internal build thingy will demand that it is setup with stdafx.h,cpp. There might be a quick settings fix, but whenever I encounter this problem I just create a new project without the precompiled header.