By default, Conan settings supports Visual Studio versions as integer numbers only.
Passing -s compiler.version=15.9 returns an “invalid” error
It complains because your custom version, it is not listed in
settings.yml, however you can add your version there, there is section explaining how to customize your settings.
You just need to update your
15.9 to Visual Studio version list and it should work.
You could update your default profile, or create a new one, based on that Visual Studio version.
15.9 is not
15, therefore, you will need to build all dependencies from sources, due the incompatible package ID. You can make them compatible, but you will need to change the recipe locally and build again. Read compatible compilers section for more information.
CLICK HERE to find out more related problems solutions.