Update-PSResource -Prerelease removes PowerShellGet 3.0
See original GitHub issuePrerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
Steps to reproduce
After installing PowerShellGet 3.0 Preview 11, run Update-PSResource -Prerelease
removes itself.
Expected behavior
PSResources gets updated.
Actual behavior
PowerShellGet module's files gets removed.
Error details
No response
Environment data
ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Binary 3.0.11 beta PowerShellGet {Find-PSResource, Get-InstalledPSResource, Get-PSResourceRepository, Install-PSResource…}
Key : PSVersion
Value : 7.2.0-preview.8
Name : PSVersion
Key : PSEdition
Value : Core
Name : PSEdition
Key : GitCommitId
Value : 7.2.0-preview.8
Name : GitCommitId
Key : OS
Value : Microsoft Windows 10.0.22000
Name : OS
Key : Platform
Value : Win32NT
Name : Platform
Key : PSCompatibleVersions
Value : {1.0, 2.0, 3.0, 4.0…}
Name : PSCompatibleVersions
Key : PSRemotingProtocolVersion
Value : 2.3
Name : PSRemotingProtocolVersion
Key : SerializationVersion
Value : 1.1.0.1
Name : SerializationVersion
Key : WSManStackVersion
Value : 3.0
Name : WSManStackVersion
Visuals
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
PowerShellGet 3.0 Preview 17 - PowerShell Team
The focus for our next preview release is removing the dependency on the nuget APIs. This will allow us to resolve dependency loading...
Read more >PowerShellGet 3.0 Preview 12 Release - PowerShell Team
We are excited to announce that an update to our preview of PowerShellGet 3.0 is now available on the PowerShell Gallery!
Read more >PowerShellGet 3.0.17-beta17
PowerShell module with commands for discovering, installing, updating and publishing the PowerShell artifacts like Modules, Scripts, ...
Read more >CHANGELOG.md - PowerShell/PSResourceGet
Updating prerelease version should update to latest prerelease ... for Install-PSResource and Update-PSResource; Remove prerelease tag from ...
Read more >Install-Module and Update-Module errors / Unable to ...
The fix for this issue appears to be to update PowerShellGet to the latest version and this is where I am having an...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I can still repro this on 3.0.17-beta17. @alerickson
I was testing this to work on a bug fix and I believe this got resolved in a previous release. I’m going to close this issue, but if you continue to experience with this with the latest release of PowerShellGet, please feel free to comment here or open up a new issue. Thanks!