digitalmars.D.learn - Installing DMD on Windows
- Quirin Schroll (11/11) Oct 20 2023 I recently removed Visual Studio 2017 and upgraded to 2022. When
- Richard (Rikki) Andrew Cattermole (3/3) Oct 20 2023 I've gone ahead and reported it, most likely nobody has used VS2022
- Imperatorn (2/13) Oct 20 2023 I will try with VS 2022 Professional as well
I recently removed Visual Studio 2017 and upgraded to 2022. When I installed the latest DMD, it told me it couldn’t find a Visual Studio installation and offered me to download e.g. Visual Studio 2019 or just VS 2019 Build Tools, etc. Unsure what to do, I thought VS 2019 Build Tools is probably the most light-weight. I just removed VS 2019 Build Tools and DMD seems to work just fine. Probably I could have gotten away with installing nothing. Is there something I’m missing or did the installer just not detect VS 2022? It’s installed at `C:\Program Files\Microsoft Visual Studio\2022\Professional`, the default install location.
Oct 20 2023
I've gone ahead and reported it, most likely nobody has used VS2022 professional edition. https://issues.dlang.org/show_bug.cgi?id=24191
Oct 20 2023
On Friday, 20 October 2023 at 12:19:32 UTC, Quirin Schroll wrote:I recently removed Visual Studio 2017 and upgraded to 2022. When I installed the latest DMD, it told me it couldn’t find a Visual Studio installation and offered me to download e.g. Visual Studio 2019 or just VS 2019 Build Tools, etc. Unsure what to do, I thought VS 2019 Build Tools is probably the most light-weight. I just removed VS 2019 Build Tools and DMD seems to work just fine. Probably I could have gotten away with installing nothing. Is there something I’m missing or did the installer just not detect VS 2022? It’s installed at `C:\Program Files\Microsoft Visual Studio\2022\Professional`, the default install location.I will try with VS 2022 Professional as well
Oct 20 2023