https://issues.dlang.org/show_bug.cgi?id=24111
--- Comment #4 from Richard Cattermole <alphaglosi...@gmail.com> --- (In reply to Walter Bright from comment #3) > I don't really know how dmd can account for failure to install VisualStudio. > The error message is coming from VS, not dmd. Visual Studio is installed. The PATH variables are not setup, and therefore it appears to the toolchain as though it hasn't been. "x64 Native Tools Command Prompt for VS 2022.bat", basically dmd needs to detect that bat file and automatically apply it before calling the cpp. --