-
Notifications
You must be signed in to change notification settings - Fork 62
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
README.md is missing information required to get the PowerShell module to import properly. #172
Comments
Hi @ameltzerMSFT, the inclusion of the ..\HelperLib\x64 is included as part of the Released PowerShell module. On a new release of the project the HelperLib is included in the PowerShell module compressed folder. |
Thanks. I don't recall seeing anything about this in the README and I was approaching this from a "clone the git repo, build it, and use it" but this doesn't seem to be the case.
|
just downloaded the latest release and the file (and folder) is missing in WinGet.RestSource-Winget.PowerShell.Source.zip. No such folder as HelperLib\x64. Copied the file from WinGet.RestSource-WinGet.RestSource.Functions\bin |
Brief description of your issue
After freshly cloning and building the repository, the Tools\PowerShellModule\src\Microsoft.WinGet.Source.psd1 module cannot be imported:
In fact, there's no
Tools\PowerShellModule\src\Library\HelperLib\x64
path at all.I manually copied the contents of
%reporoot%\src\WinGet.RestSource.PowerShell\bin\debug\netstandard2.1
into%reporoot%\Tools\PowerShellModule\src\Library\HelperLib\x64
which appeared to be enough to allow the Microsoft.WinGet.Source.psd1 file to import.I'm reporting this because I didn't see any mention of this in the README.md, and this is critical information needed to get the cmdlets to work. The docs should be updated to make sure these steps are mentioned so that the PowerShell module is usable.
The text was updated successfully, but these errors were encountered: