Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versioning of msvc inconsistent #5

Open
terrorfisch opened this issue May 24, 2018 · 2 comments
Open

Versioning of msvc inconsistent #5

terrorfisch opened this issue May 24, 2018 · 2 comments

Comments

@terrorfisch
Copy link

terrorfisch commented May 24, 2018

The version of Visual Studio 2017 is 15.x but the version of the toolset is 14.1x
https://blogs.msdn.microsoft.com/vcblog/2017/11/15/side-by-side-minor-version-msvc-toolsets-in-visual-studio-2017/

The vswhere code uses the toolset version as VS version

version = open(join(p, 'Microsoft.VCToolsVersion.default.txt')).read().strip()

I am currently working on implementing autodetection of vswhere and stumbled upon this inconsistency. I have VS 2015 and VS 2017 installed and this bug results in overwriting the VS 2017 entry with the VS 2015 entry from the registry.

I guess the correct version would be 14.1 to comply with the boost naming of libraries?

@stefanseefeld
Copy link
Owner

Yeah, I'm a bit stuck in the versioning inconsistency. I'm not sure what the "correct" version is. What version would the original faber code report for VS 2015 and VS 2017 respectively ? And what does it report with your patch ?

@stefanseefeld
Copy link
Owner

Hi @terrorfisch , are you still interested in addressing this issue ? I'm not a regular MSVC user, so can offer only little help. Nevertheless, I'd be interested in fixing any such issue. Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants