Click here to Skip to main content
15,886,422 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
LINK : fatal error LNK1104: cannot open file 'MSCOREE.lib'

On my machine,
mscoree.lib doesn't locate in C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib
It is located in C:\Program Files\Microsoft SDKs\Windows\v5.0\Lib\IA64
I've already add under
Tools->Option->Projects and solution->VC Directories

Please Help me:confused:
Posted

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.
 
Share this answer
 
SQL
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
 
Share this answer
 
add this code #pragma comment(lib, "MSCOREE.lib")
 
Share this answer
 
Comments
Nelek 9-Aug-13 14:05pm    
You are about 2 years late

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900