A few days ago I have posed the question in the header in a Microsoft forum. I was given two options that IMHO are not very good:
- Install the VS2015 redistributables on the target machine.
- Compile statically so that the code will not call the VS2015 DLL files.
The first option increases dramatically the installation time of my application.
The second option increases dramatically the size of the binary files, increases the build time and inapplicable when compiling with flag /CLR.
It now seems that by moving my development to Visual Studio 2015 I have to drop support for Vista (actually, to Windows 7 too) or provide a poorer product than the one I had previously provided.
Note: I hopped that using Platform Toolset = v140_xp will solve the problem but apparently it won't.
Please enlighten me with a better solution.