且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

链接:致命错误LNK1104:无法打开文件'MSCOREE.lib'

更新时间:2022-03-30 20:47:07

我刚检查了我的系统,它在 C :\ Program Files \ MicroSoft SDKs\ Windows \\\\\\\\\\\\\\\\\\\\也许你的系统已经被破坏了。
I just checked my system and it is in C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib. Maybe your system has been corrupted somehow.


I just solved this by adding the library folder of windows SDK (...\lib\x64) in the linker property : Additional Libary Directories (Project => Properties => Linker => Additional Libary Directories)

Regards,
Tennirva


添加此代码#pragma comment(lib,MSCOREE.lib)
add this code #pragma comment(lib, "MSCOREE.lib")