Click here to Skip to main content
15,030,320 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:

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)

add this code #pragma comment(lib, "MSCOREE.lib")
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