www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Installing DMD on Windows

reply Quirin Schroll <qs.il.paperinik gmail.com> writes:
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
next sibling parent "Richard (Rikki) Andrew Cattermole" <richard cattermole.co.nz> writes:
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
prev sibling parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
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