LIB file and their compatibility


  • Hi,

    We were wondering till which point the lib files generated through VS are compatible within Microsoft compilers family:

    For instance, if the lib file is targeted for SDK 7.1 can it be added in a projet using MS VS 2015 Pro?

    Thanks for your time and your help!


    Wednesday, January 6, 2016 6:52 AM


  • Hi Cedric,

    Thanks for your post.

    >>the lib file is targeted for SDK 7.1

    Is that the targeted for SDK7.1  which could be selected in Platform Toolset?

    As far as I Know . If you want to use the lib file which is the targeted for SDK7.1

    One idea is that you could change the target platform toolset to SDK7.1 in VS2015. Then use the SDK7.1 in VS2015.

    In this case, you may need to have the associated version of Visual Studio or the Windows Platform SDK installed.

    For example, to target the Itanium platform with the Windows7.1SDK platform toolset, you must have Microsoft Windows SDK for Windows 7 and .NET Framework 4 SP1  installed.

    However, you could also try to use another compatible version of Visual Studio to do your development work, provided that you target the correct Framework version and platform toolset.

    For example: using the platform toolset such as Visual Studio 2015 (v140) and changes the TargetFrameworkVersion to the .NET Framework 4.5.2.  Then try to compile the lib file in VS2015.

    Please also take a look at the following document about Upgrade Visual C++ Projects to Visual Studio 2015.

    Best Regards,

    Lake Xiao

    Thursday, January 7, 2016 6:06 AM