VS 2017 .RC file - Error RC1015 cannot open include file 'afxres.h'

  • Thread starter Thread starter a_unique_name
  • Start date Start date
A

a_unique_name

Guest
Hi Folks:

Last night, while trying to get VS 2015 to use the Windows 10 SDK, I managed to mess up the IDE to the point where a fresh install sounded like a good idea.

I went to MS's VS Community site for the latest download. 2017 is now the default offered version, so I downloaded and installed it.

The compilation failed. The only error found is in the .RC file:

/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"

Nothing was found when I searched for the header file on the C: drive.

Commenting out the include caused other errors.

Suggestions?

Thanks
Larry

Continue reading...
 
Back
Top