conan-io / docs

conan.io reStructuredText documentation
http://docs.conan.io
MIT License
110 stars 360 forks source link

[feature] Help new users find out about tools.microsoft.msbuild:vs_version #3870

Open kip3f opened 11 months ago

kip3f commented 11 months ago

What is your suggestion?

I'm trying to use Conan (2.0.14) on the build server, which has VIsual Studio 2022 installed together with build tools for several previous versions as well. I'd like to compile using the 2017 build tools and the 2022 visual studio. My problem is easily solved by the tools.microsoft.msbuild:vs_version setting. But I had to look through the source code to find that out.

  1. My default profile didn't contain the setting. Please see Issue 14487. I guess that code change still doesn't generate the setting "out of the box".
  2. There is no documentation (that I could find) on the website about this use-case. That would have really helped me to get started with Conan.

Have you read the CONTRIBUTING guide?

memsharded commented 1 month ago

Sorry this was not responded back then @kip3f

There is now the conan config list <pattern> command, something like conan config list microsoft is something that would be recommended to have a look to the different available confs that could help with a msvc issue.

I am moving this to the docs repo to try to add there some clarification.

Thanks very much for the feedback.