π¨ PSA for Windows users:
#WindowsDev #Cpp #DevOps #SoftwarePackaging
β β If your app is standalone, link statically (/MT). No redist needed. microsoft visual c++ redistributable package
β β Run the official EXE as a prerequisite. Microsoft handles the versioning and reboot logic.
Install once, forget errors. β
As Windows developers, we often take runtime dependencies for granted. The Microsoft Visual C++ Redistributable is small but mighty β and misconfiguring it leads to βmissing DLLβ hell for users.
π§©
π https://aka.ms/vs/17/release/vc_redist.x64.exe (64-bit) π https://aka.ms/vs/17/release/vc_redist.x86.exe (32-bit)