[X] Make sure you are able to repro it on the latest version
[X] Search the existing issues.
Steps to reproduce
When running the latest Alpha release on windows server 2019 and windows server 2022 the command fails with error: The code execution cannot proceed because vcruntime140.dll was not found. Reinstalling the program may fix this problem. Installing the latest C++ redistributable corrects this issue. (https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170)
Expected behavior
dsc resource list returns resources and not an error.
Actual behavior
error: The code execution cannot proceed because vcruntime140.dll was not found. Reinstalling the program may fix this problem
Error details
error: The code execution cannot proceed because vcruntime140.dll was not found. Reinstalling the program may fix this problem
Environment data
Name Value
---- -----
PSVersion 7.3.9
PSEdition Core
GitCommitId 7.3.9
OS Microsoft Windows 10.0.17763
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Prerequisites
Steps to reproduce
When running the latest Alpha release on windows server 2019 and windows server 2022 the command fails with error: The code execution cannot proceed because vcruntime140.dll was not found. Reinstalling the program may fix this problem. Installing the latest C++ redistributable corrects this issue. (https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170)
Expected behavior
Actual behavior
Error details
Environment data
Version
7.3.9
Visuals