Click here to Skip to main content
13,148,182 members (40,989 online)
Rate this:
 
Please Sign up or sign in to vote.
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 30-Dec-10 23:08pm
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

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
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy |
Web03 | 2.8.170924.2 | Last Updated 18 Jun 2015
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100