PowerShell SDK 6.1.2 won't install in PSCore 6.1.2
See original GitHub issueI’m not sure what I’m missing here. I can find the package but won’t install.
I use the send email to Owner but never got a response back. 😦
Steps to reproduce
- Find the package
PS [21] > find-package -Name Microsoft.PowerShell.SDK
Name Version Source Summary
---- ------- ------ -------
Microsoft.PowerShell.SDK 6.2.0 Nuget PowerShell runtime for hosting PowerShell Core
- Install the package:
PS [27] > Install-Package Microsoft.PowerShell.SDK -RequiredVersion 6.2.0
Expected behavior
To install without any issues
Actual behavior
See cmdline error during installation:
PS [33] >
The package(s) come(s) from a package source that is not marked as trusted.
Are you sure you want to install software from 'Nuget'?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): A
Install-Package : Unable to find dependent package(s) (Microsoft.NETCore)
At line:1 char:2
+ Install-Package Microsoft.PowerShell.SDK -RequiredVersion 6.2.0
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Microsoft.NETCore:String) [Install-Package], Exception
+ FullyQualifiedErrorId : UnableToFindDependencyPackage,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage
PS [45] >
Environment data
PS [7] > $PSVersionTable
Name Value
---- -----
PSVersion 6.2.0
PSEdition Core
GitCommitId 6.2.0
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
PS [21] >
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
.Net core 2.1 Powershell SDK 6.1.1 can not get correct ...
Hi, I have installed PowerShell Core 6.1.1 from MSI file on my machine and its module locates by default at C:\Program ...
Read more >Install the Microsoft Graph PowerShell SDK
Learn how to install the Microsoft Graph PowerShell SDK with PowerShellGet.
Read more >powershell-core (Install) 7.4.0-preview04
Chocolatey is software management automation for Windows that wraps installers, executables, zips, and scripts into compiled packages.
Read more >Untitled
Enjasa tombola, Turku amk soleops, Aircell st 3100 installation manual, ... Libeco home usa, Shsh download 6.1.2, Angelina jolie schlichte eleganz, ...
Read more >Microsoft.PowerShell.SDK 7.3.6
Version Downloads Last updated
7.4.0‑preview.4 329 2 months ago
7.4.0‑preview.3 586 4 months ago
7.4.0‑preview.2 456 5 months ago
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
@SydneyhSmith
No luck!
Too much dependencies to try figure out the proper order of installation. I’ll wait until .NET Core 3.0 is out and pray that is much simpler to work with it. (Wishful thinking!)
I’m closing the issue!
@SydneyhSmith
So, it seems that I’m missing all dependencies. I created a PowerShell Script to install all dependencies that the SDK needs.
And, of course, discover that some these dependencies has more dependencies.
If I’m successful after all these load then I will close the issue today.
I will post my script in case anyone need to avoid this painful experience! But, Hey! Never a dull moment! 😃