Again remove #include "afxres.h" from generated rc script and replace it with #include <winresrc.h>.