[CI] - problem building on Visual Studio 2022 Preview v17.13.0 Preview 4.0 #37199
Labels
Issue-Bug
Something isn't working
Needs-Triage
For issues raised to be triaged and prioritized by internal Microsoft teams
Resolution-Already Fixed/Doesn't Apply
A change in the product has made the issue obsolete.
Milestone
Microsoft PowerToys version
main
Installation method
GitHub
Running as admin
None
Area(s) with issue?
General
Steps to reproduce
Trying to build the
main
branch of the PowerToys solution in Visual Studio 2022 Preview v17.13.0 Preview 4.0 results in the following errors from the ApplicationUpdate project:Building the same solution in Microsoft Visual Studio Professional 2022 v17.12.4 works fine by comparison.
To reproduce:
git submodule update --init --recursive
Note that the errors disappear if you subsequently build the solution in Microsoft Visual Studio Professional 2022 v17.12.4. However if you perform a "clean" on the ApplicationUpdate project and try to build it again in Preview v17.13.0 Preview 4.0 the error reappears.
I'm not a C / C++ dev so I'm struggling to find a root cause or fix (other than the build in Pro first and then switch back to Preview), but it looks like it's related to the
expected-lite
submodule - possibly compatibility with different versions of MSVC compiler?In VS Pro 17.12.4 the version of MSVC in "detailed" build logs is 14.42.34433 (
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64\CL.exe
), but in VS 17.13.0 Preview 4,0 it's 14.43.34808 (C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64\CL.exe
) - I'm not sure if that's relevant though.✔️ Expected Behavior
Build completes successfully in Visual Studio 2022 Preview v17.13.0 Preview 4.0
❌ Actual Behavior
Build fails with above errors.
Other Software
No response
The text was updated successfully, but these errors were encountered: