Use Visual Studio 2012 and compile with older platform toolset?

前端 未结 4 1635
逝去的感伤
逝去的感伤 2020-12-01 07:39

The problem

I\'m using Visual Studio 2012 to develop C++ DLLs. On some machines these DLLs can not be loaded, because the platform toolset, which is

4条回答
  •  广开言路
    2020-12-01 08:21

    A hint for the internet archive. (I cannot comment the statements above, I don't know why)

    To use the v90 platform toolset (=Visual Studio 2008) in a newer Visual Studio (I testet 2013 and 2015) you need to install Visual Studio 2008 and additionally Visual Studio 2010, because the vs90 platform toolset definitions in the MS Build programs folder are part von Visual Studio 2010.

    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\PlatformToolsets for v90 and v100

    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0
    

    for V110 V120 and V140

    representing Visual Studio Versions: v90=2008, v100=2010, V110=2012, V120=2013, V140=2015.

    After the Installation vob VS2010 the newer Visual Studio 2013 and 2015 Versions could use the vs90 and vs100 platform toolsets. (This works immidiadtly without a new installation of Visual Studio 2013/2015.) I guess Visual Studio 2012 is doing it the same way like VS2013 and VS2015.

提交回复
热议问题