I created simple Windows Runtime Component using Visual Studio template. By default project is dynamically linked to C/C++ Runtime Library with MD/MDd option.
When I change it into MT/MTd (Project properties -> C/C++ -> Code Generation -> Runtime Library) and build the project I am getting error
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(1693,5): error MSB8024: Using static version of the C++ runtime library is not supported.
How can I compile Windows Runtime Component with MTd option? I need this since WinRT Component will refer other 3rd part library which is built with statically linked C++ runtime library.