[msbuild] VersionInfo.rc(10): fatal error RC1015: cannot open include file 'afxres.h'

yyue's Avatar


20 Mar, 2015 01:20 PM

I am having this msbuild error when building our project on AppVeyor, [msbuild] VersionInfo.rc(10): fatal error RC1015: cannot open include file 'afxres.h'. The project built fine locally with VS2010 professional. I googled possible answers, and it seems to be related to version of VS used for the build. For instance solutions tried by people here, https://github.com/project64/project64/issues/71, are based on modifying installed VS.

Can someone help? Thanks a lot!

  1. Support Staff 1 Posted by Feodor Fitsner on 20 Mar, 2015 01:28 PM

    Feodor Fitsner's Avatar

    There is no VS 2010 Professional on build workers, but Express SKUs instead: http://www.appveyor.com/docs/installed-software#visual-studio-2010

    However, there is Visual Studio 2013 Community installed with full C++ support and per suggestion here this might be a solution.

  2. 2 Posted by yyue on 20 Mar, 2015 01:35 PM

    yyue's Avatar

    Feodor, thanks ! I noticed the mismatched VS versions between those installed and what we use locally. Just hope for an easy solution before converting the project to VS2013 based, which will take some time.

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:54 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac