cannot open file 'MSCOREE.lib' RRS feed

  • Question

  • When I attempt to build an app using Visual Studio .Net 2008 beta I get the following error.

    1>LINK : fatal error LNK1104: cannot open file 'MSCOREE.lib'

    Can anybody help?

    Thursday, August 23, 2007 3:28 PM

All replies


    I am having the same problem.  I searched and found this post.  Have you found out what could be causing the issue by chance?



    Sunday, August 26, 2007 7:53 PM
  • I found this post and struggled with this for a while.  I asked a friend that works on the Microsoft Visual Studio team and he gave me the right answer.  I hope this helps others who find it:

    MSCOREE.lib was moved for Visual Studio 2008.  It now resides here:

    C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib
    C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\x64

    Add it to your library paths in VS 2008 (Tools/Options/Projects and Solution/VC++ Directories/Win32 or x64/Libraries).  Here Where Win32 and x64 are the target selected in the upper left corner of the dialog box.

    Now the library should be located properly.


    • Proposed as answer by ammt Thursday, October 1, 2009 7:20 AM
    Friday, October 12, 2007 4:44 PM