Skip to content

MSVC version is 14.35 when i'd expect it to be 14.36 #7867

@alastairUK

Description

@alastairUK

Description

I guess this is related to

#7700

#7487

and I am pretty sure it was working recently but today (6th July) I am seeing

ClCompile:
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.35.32215\bin\HostX86\x86\CL.exe

in my build output when i'd expect it to be using 14.36.xxxx

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
  • macOS 13
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

Starting: Initialize job
Agent name: 'Hosted Agent'
Agent machine name: 'fv-az794-465'
Current agent version: '3.220.5'
Operating System
Microsoft Windows Server 2022
10.0.20348
Datacenter
Runner Image
Image: windows-2022
Version: 20230625.1.0
Included Software: https://github.com/actions/runner-images/blob/win22/20230625.1.0/images/win/Windows2022-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/win22%2F20230625.1.0
Runner Image Provisioner
2.0.238.1
Current image version: '20230625.1.0'
Agent running as: 'VssAdministrator'
Prepare build directory.
Set build variables.
Download all required tasks.
Downloading task: NuGetToolInstaller (0.221.0)
Downloading task: NuGetCommand (2.222.0)
Downloading task: VSBuild (1.214.0)
Downloading task: VSTest (2.220.0)
Downloading task: CopyFiles (2.211.0)
Downloading task: PublishBuildArtifacts (1.223.1)
Checking job knob settings.
Knob: DockerActionRetries = true Source: $(VSTSAGENT_DOCKER_ACTION_RETRIES)
Knob: AgentToolsDirectory = C:\hostedtoolcache\windows Source: ${AGENT_TOOLSDIRECTORY}
Knob: AgentPerflog = c:\vsts\perflog Source: ${VSTS_AGENT_PERFLOG}
Knob: ContinueAfterCancelProcessTreeKillAttempt = true Source: $(VSTSAGENT_CONTINUE_AFTER_CANCEL_PROCESSTREEKILL_ATTEMPT)
Finished checking job knob settings.
Start tracking orphan processes.

Is it regression?

Version: 20230620.1.0

Expected behavior

I'd expect as the VS version is

Visual Studio Enterprise 2022 | 17.6.33815.320

That it would be using

C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.36.xxxx

Not 14.35

Actual behavior

ClCompile:
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.35.32215\bin\HostX86\x86\CL.exe

Repro steps

Compile a C++ project using MSBuild on Azure Devops and look at the build output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug reportduplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions