在VS2017中调试一个C语言项目,运行提示:

LNK1104 cannot open file MSVCRTD.lib

LNK1104: cannot open file MSVCRTD.lib_vc++

解决办法:

在VS安装程序中添加“VC++2017 version 15.9 v14.16 Libs for Spectre(x86 and x64)” 

LNK1104: cannot open file MSVCRTD.lib_html_02

问题解决。

参考:​​https://stackoverflow.com/questions/6228112/link-fatal-error-lnk1104-cannot-open-file-msvcrtd-lib​