none
How to build C++ project in Visual Studio 2015 and Visual Studio 2002 at one time

    Question

  • Hi, I need to build my C++ projects in two environments:

    • Visual Studio 2015 (VS2015) installed on Windows 10 x64

    • Visual Studio 2002 (VS2002) installed on Windows XP

    Now every time I need to trigger to build my projects twice on 2 PC and this way is not sufficient for me.

    I do some research before and someone suggest to install multiple compiler in one PC, but the problem is that VS2002 is too old to be installed on Windows 10 x64.

    I am looking for any method or software tool that I can trigger the build once then I can build my projects on both VS2015 and VS2002 (e.g. if I can install both VS2015 and VS2002 in one PC, I can write a simple batch file to build my project in both compiler).

    Could you please suggest some ideas. Thanks a lot.


    Monday, May 13, 2019 6:28 AM

All replies

  • Why do you need VS2002?  You can target XPSP3 with VS2015 by building with the v140_xp toolset.
    Monday, May 13, 2019 11:59 AM
  • Hi, that is my customer's requirement to maintain the support for VS2002 version.
    Tuesday, May 14, 2019 12:50 AM
  • Hi ChanhNguyen

    Welcome to the MSDN Forum,

    I checked both of visual studio .NET 2002 and visual studio 2015 system requirement:

    2002: Windows 2000, Windows NT, Windows Server 2003, Windows XP

    2015: Windows 10, Windows 8.1, Windows 8, Windows 7 SP 1, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2 SP1

    Meanwhile, visual studio .net 2002 has expired not in maintain supporting term in MS. (see: https://support.microsoft.com/en-us/lifecycle/search?alpha=Microsoft%20Visual%20Studio%20.NET%202002 )

    So there has not any tool or OS could meet your requirement. Sorry for your inconvenience,

    Sincerely

    May


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Tuesday, May 14, 2019 4:06 AM
    Moderator
  • Hi ChanhNguyen,

    Since VS2002 project was not compatible in the higher VS2015, so if possible, please don't use the old VS2002 version.

    If you want to build the project at one time or using different Environment easily, I have a workaround, you could think about using Azure DevOps which could setup different agent job with different VS versions.

    Of course, it has no the old VS2002, but it has VS2013/VS2015/VS2017 and so on.

    Best Regards,

    Jack


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, May 21, 2019 7:12 AM
    Moderator