How can we compile Visual Studio 2015 project on Visual Studio 2019 without project upgrade?

Soni, Maulikkumar 21 Reputation points
2020-11-03T05:27:35.977+00:00

I need to compile Visual Studio 2015 project on Visual Studio 2019 without upgrading the project. I installed Studio 2015 build tools, but the project properties->General->Platform Toolset -- this shows Studio 2015 v140 as 'Not Installed'. Appreciate if any remedies.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,869 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,009 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anna Xiu-MSFT 27,731 Reputation points Microsoft Vendor
    2020-11-04T03:39:53.297+00:00

    Hi @Soni, Maulikkumar ,

    According to your description, I suppose the problem of missing v140 has been solved.
    If the Windows SDK 8.1 is not found in Visual Studio Build Tools 2019, I suggest you installed it separately: Windows SDK and emulator archive.

    • If the answer is helpful, please click "Accept Answer" and upvote it.
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best Regards,
    Anna

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 27,731 Reputation points Microsoft Vendor
    2020-11-03T08:21:18.267+00:00

    Hi @Soni, Maulikkumar ,

    What is your project type?

    According to your description, it seems that “MSVC v140 - VS 2015 C++ build tools (v14.00)” component isn’t installed. Please install it by running your Visual Studio Installer > Modify > type “v140” under Individual components.
    37055-v140.png

    • If the answer is helpful, please click "Accept Answer" and upvote it.
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Sincerely,
    Anna

    2 people found this answer helpful.
    0 comments No comments

  2. Soni, Maulikkumar 21 Reputation points
    2020-11-03T10:51:18.087+00:00

    Hi @Anna Xiu-MSFT ,
    Thanks for your answer.
    After following steps mentioned by you, I am able to see v140 in Platform Toolset.

    Difference is,
    Now I downloaded tooset from : https://visualstudio.microsoft.com/visual-cpp-build-tools/
    Earlier, [This didn't work] I downloaded from: https://www.microsoft.com/en-in/download/details.aspx?id=48159

    One more issue, now I get Windows SDK 8.1 not found when I compiled my VC++ project. Also, there is no option in VS2019 buildtools for it. Best if you can guide me.

    0 comments No comments