Visual Studio 2017 errors on standard headers

后端 未结 5 1197
一向
一向 2020-11-30 02:37

I just upgraded to Visual Studio 2017 Community Edition and I have trouble loading standard header files. I get 507 errors from various header files. Here are some snippets:

5条回答
  •  春和景丽
    2020-11-30 03:42

    If anyone's still stuck on this, the easiest solution I found was to "Retarget Solution". In my case, the project was built of SDK 8.1, upgrading to VS2017 brought with it SDK 10.0.xxx.

    To retarget solution: Project->Retarget Solution->"Select whichever SDK you have installed"->OK

    From there on you can simply build/debug your solution. Hope it helps

提交回复
热议问题