You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DSC depends on vcruntime140.dll but does not declare it #1244
Every executable in the DSC package has a load time dependency on vcruntime140.dll, which it probably does not need. It works on most machines by virtue of other applications installing such DLL in system32. It will not work on a clean machine.
You can work around this by statically linking components of the C++ runtime, while still dynamically linking the C runtime. This is referred to as the "Hybrid CRT" model.
Activity
DHowett commentedon Nov 7, 2025
This was reportedly fixed in #269, but it seems to have regressed.
marcdrexel commentedon Nov 11, 2025
Steve Lee (@SteveL-MSFT)

as of 3.1.2 dsc.exe now fails to run if VCRUNTIME140.dll is not found.
3.1.1 works as normal, i tested this on a fresh windows server 2025 standard installation.
are we expected to also install Visual C++ Redistributable starting with 3.1.2 or is this a bug?
DHowett commentedon Nov 11, 2025