api-ms-win-core-winrt-string-l1-1-0.dll is missing from your computer
<p>I'm writing a program that needs to run across Windows 7, 8.x and 10. The program has a one (relatively minor) feature that relies on Windows APIs that are only available on Windows 10. This feature will obviously not work on Win7, and before calling these APIs I make sure that the current OS is Windows 10. </p>

<p>In order to use these APIs I'm forced to configure my VS2015 project to "Consume Windows Runtime Extension" (/ZW) and to set "Target Platform Version" to 10.0.10586.0.</p>

<p>However, this causes a problem when I try to run the app on Windows 7. I get an error dialog saying "The program can't start because api-ms-win-core-winrt-string-l1-1-0.dll is missing from your computer". I tried to installed VS2015 redistributable package on the Win7 machine, but that did not solve the problem. </p>

<p>Any idea on how to get this to run on Win7? I really prefer not to change all my code to dynamically load all Windows 10 functions. </p>

<p>The program is written in C++, and the Windows API I use are from Windows.Devices.WifiDirect namespace.</p>