two-phase name lookup is not supported for C++/CLl or C++/CX; use /Zc:twoPhase #5237
Replies: 4 comments 1 reply
-
|
Converted to discussion as this is more likely an issue with your build environment than it is a bug. I've not seen any issues building locally, CI builds worked. From the PR's that have been submitted recently, nobody has reported an issue. So you are probably missing some tools from your VS install. I'm using Make sure you have the Desktop Development with C++ workload installed. |
Beta Was this translation helpful? Give feedback.
-
|
@amaitland Hi,thanks for your reply very much.I will try again. |
Beta Was this translation helpful? Give feedback.
-
|
@amaitland Thanks very much, After I upgrade my visual studio,it build successfully.
|
Beta Was this translation helpful? Give feedback.
-
|
@amaitland I’m using Visual Studio 2026 (18.5.2) and encountered the same issue. On Visual Studio 2026 (VisualStudioVersion = 18.0), this leads to two build failures:
This can be resolved by updating the CefSharp.props conditions from strict equality (== '17.0') to a greater-than-or-equal check (>= '17.0'). After |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
CefSharp Version
146.0.100
Operating System
Windows 11
Architecture
x64
.Net Version
.net 6.0
Implementation
WPF
Reproduction Steps
I use Visual Studio 2022 to compile v146.0.100
I have this compile error on both windows 10 and windows 11.
two-phase name lookup is not supported for C++/CLl or C++/CX; use /Zc:twoPhase

Beta Was this translation helpful? Give feedback.
All reactions