VS- Cannot find or open the PDB file 报错解决方案

问题

VS编写程序报错:

'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file 
'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file 
'C:\Windows\SysWOW64\kernellbase.dll', Cannot find or open the PDB file

解决方案

Tools -> Options -> Debugging -> Symbols -> 勾选Server -> 点击Yes
再次编译运行,问题就解决了。

你可能感兴趣的:(VS)