Dec 17, 2015 at 12:19pm UTC
Hi I am migrating project code from VS2012 to VS2015 and I got the following error
Error LNK1104 cannot open file mfc110.lib
I searched for the mfc110.lib file in the program file its not in the VS2012 and VS2015 , but my code is running successfully on VS2012.
I just want to know where I am wrong and what is the exact solutions.?
Last edited on Dec 17, 2015 at 12:20pm UTC
Dec 17, 2015 at 1:30pm UTC
Maybe mfc140.lib is what you need. Go to linker -> additional depedencies and change it, it seems the project still wants to use the old VS2012 MFC library.
Dec 17, 2015 at 1:54pm UTC
@modoran
But in project settings there is no depedencies added..previously..
Dec 17, 2015 at 3:16pm UTC
Check the toolset in Properties . IIRC: Under Configuration Properties , select General and then for Platform Toolset , select the current version.