Problem when using CLI in MFC Application
Hello, everyone.
this is the first time I came here. my problem is: I created a project with MFC Application project type. and now i want to add CLI support to this project. So I open the project properties dialog and select "Common Language Runtime support (/clr)" options, when compile, an error message appears like this: "Can't open file mscoree.lib". I use Microsoft Visual Studio 2005 Beta 2.
Why did it happen? how to deal with?
Best Regards,
Orochi
[468 byte] By [
Orochi] at [2008-2-22]
What is the LIB path set to? Make sure it includes the 'lib' directory below the install point of the CLR SDK. I'm working from memory here but I believe that on a standard install it should be located at:
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\lib
The .NET Framework SDK is not installed with a custom setup.
anyhow, The pure CLR project can be created and compile correctly without .NET SDK. I've searched the installation path of .NET Framework, only found a file named "mscoree.tlb".
the SDK is required for extending CLR in MFC?