Skip to content

C++ / MSBuild not using latest toolset #7487

@marc2k3

Description

@marc2k3

Description

VS 2022 17.5 should be using the latest 14.35 toolset but it's not.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 11
  • macOS 12
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

Image: windows-2022
Version: 20230417.1
Included Software: https://github.com/actions/runner-images/blob/win22/20230417.1/images/win/Windows2022-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/win22%2F20230417.1

Is it regression?

No

Expected behavior

Expecting the latest 14.35 toolset to be used.

Actual behavior

14.34 toolset is being used as can be seen here...

https://github.com/marc2k3/foo_musicbrainz64/actions/runs/4796230044/jobs/8531766018#step:6:562

Repro steps

This causes the build to error here...

https://github.com/marc2k3/foo_musicbrainz64/actions/runs/4796230044/jobs/8531766018#step:6:570

2>D:\a\foo_musicbrainz64\foo_musicbrainz64\src\ReleaseParser.cpp(268,50):
error C2039: 'fold_left': is not a member of 'std::ranges' [D:\a\foo_musicbrainz64\foo_musicbrainz64\src\foo_musicbrainz64.vcxproj]

I'm using /std:c++latest expecting the latest std::ranges toys like fold_left, zip_view etc to work.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions