Mfc 为什么visual studio 2017 Intellisense会告诉我;标识符cstring未定义";?

Mfc 为什么visual studio 2017 Intellisense会告诉我;标识符cstring未定义";?,mfc,visual-studio-2017,Mfc,Visual Studio 2017,我将一个MFC项目升级到visual studio 2017,现在intellisense抱怨CString,CPoint,CRec,CSize,RPC\u IF\u HANDLE,还有更多的问题是“未定义的” 这个项目编制得很好。那么intellisense丢失了什么或查看了错误的包含目录呢?我不得不手工编辑project*.vcxproj文件并替换它 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props

我将一个MFC项目升级到visual studio 2017,现在intellisense抱怨
CString
CPoint
CRec
CSize
RPC\u IF\u HANDLE
,还有更多的问题是“未定义的”


这个项目编制得很好。那么intellisense丢失了什么或查看了错误的包含目录呢?

我不得不手工编辑project*.vcxproj文件并替换它

<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />


<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />