Change target platform version to Windows 7


  • Before building a project in Visual C++, when I check the target platform version, I only see 8.1. I cannot change that to 7, which is my target platform.

    For that, the directx project I'm building doesn't run succesfully. It seeks for such dlls (i.e: d3dcompiler_47.dll and others...) those are present on windows 8.1, but not In windows 7(windows 7 has d3dcompiler_33.dll to d3dcompiler_43.dll). I only get lots of dll missing errors.

    If also tried:

    #define _WIN32_WINNT_WIN7                   0x0601 //windows 7

    in the targetver.h file but nothing succesful. i wan't build it for Windows 7 so that I can run it smoothly on 7, 8, 8.1 and 10.

    I'm using:

    • Visual Studio 2015 Community with update 3
    • Windows 7 32-bit SP1
    • Windows 8.1 SDK which installed along with Visual Studio
    Tuesday, August 9, 2016 11:03 AM