-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update PowerShell Module Dependency Docs #2797
Conversation
@@ -6,6 +6,15 @@ This project contains the source code for building the Windows Package Manager P | |||
|
|||
After building the project solution, the `Microsoft.WinGet.Client` PowerShell module can be found in the output directory in the `PowerShell` folder. For example if you built the project as x64 release, you should expect to find the module files in `$(SolutionDirectory)/src/x64/Release/PowerShell`. | |||
|
|||
## Prerequisites | |||
|
|||
The PowerShell module has a dependency on the Microsoft Visual C++ Redistributable package which can be downloaded [here](https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170) or installed through WinGet by running the following command: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What version do I need to download?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@florelis I've got the Microsoft Visual C++ 2015-2022 Redistributable, v14.34.31931 on my W11 machine, both x86 and x64, and it works for me (well, it imports and Get-WinGetPackage runs). I suspect you can just go with x64 though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added the word "latest" and the id in the winget example points to 2015.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @robinmalik. I actually meant it as a rhetorical question for @ryfu-msft to specify it in the doc, which he did
Resolves #2795
Changes:
Updates the PowerShell module documentation to explicitly identify the required dependency on the Microsoft Visual C++ Redistributable package in order to run the cmdlets
Microsoft Reviewers: Open in CodeFlow