conan-io / conan-io/docs

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

Open
#3,870 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
125
Forks
382
Avg merge
22h 39m
Merged PRs (30d)
21

Description

### 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](https://github.com/conan-io/conan/issues/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?

- [X] I've read the CONTRIBUTING guide

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.