You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Timeline for Microsoft.PowerShell.SDK being in nuget.org #6475
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-AnsweredThe question is answered.
Currently Microsoft.PowerShell.SDK is only on the PowerShell team's myget feed not NuGet.org. This package is what allows us to host a PowerShell environment in a .NET Core application on Linux.
Aditya Patwardhan (@adityapatwardhan)
Hi.
Any ETA on the for-.Net-core-package being properly published in NuGet? We (especially our legal departments) don't like referencing alternative NuGet repositories.
Matt
Came here looking for the same thing, mainly because I can't seem to consume from MyGet anymore:
PM> Install-Package Microsoft.PowerShell.SDK -Version 6.0.2 -Source https://powershell.myget.org/F/powershell-core/api/v3/index.json
The 'Source' parameter is not respected for the transitive package management based project(s) Redacted.PowerShell. The enabled sources in your NuGet configuration will be used.
Restoring packages for C:\Users\Kent\Repository\Redacted\Src\Redacted.PowerShell\Redacted.PowerShell.csproj...
GET https://powershell.myget.org/F/powershell-core/FindPackagesById()?id='Microsoft.NETCore'&semVerLevel=2.0.0
GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore/index.json
GET https://powershell.myget.org/F/powershell-core/FindPackagesById()?id='Microsoft.NETCore.Portable.Compatibility'&semVerLevel=2.0.0
GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.portable.compatibility/index.json
GET https://powershell.myget.org/F/powershell-core/FindPackagesById()?id='Microsoft.PowerShell.SDK'&semVerLevel=2.0.0
GET https://api.nuget.org/v3-flatcontainer/microsoft.powershell.sdk/index.json
OK https://api.nuget.org/v3-flatcontainer/microsoft.netcore.portable.compatibility/index.json 948ms
OK https://api.nuget.org/v3-flatcontainer/microsoft.netcore/index.json 985ms
OK https://powershell.myget.org/F/powershell-core/FindPackagesById()?id='Microsoft.NETCore.Portable.Compatibility'&semVerLevel=2.0.0 1055ms
OK https://powershell.myget.org/F/powershell-core/FindPackagesById()?id='Microsoft.NETCore'&semVerLevel=2.0.0 1090ms
OK https://powershell.myget.org/F/powershell-core/FindPackagesById()?id='Microsoft.PowerShell.SDK'&semVerLevel=2.0.0 1186ms
GET https://powershell.myget.org/F/powershell-core/api/v2/package/Microsoft.PowerShell.SDK/6.0.2
NotFound https://api.nuget.org/v3-flatcontainer/microsoft.powershell.sdk/index.json 1694ms
OK https://powershell.myget.org/F/powershell-core/api/v2/package/Microsoft.PowerShell.SDK/6.0.2 1273ms
Installing Microsoft.PowerShell.SDK 6.0.2.
Install-Package : NU1102: Unable to find package Microsoft.NETCore.Portable.Compatibility with version (>=
1.0.3-beta-24514-00)
- Found 9 version(s) in nuget.org [ Nearest version: 1.0.2 ]
- Found 2 version(s) in Microsoft Visual Studio Offline Packages [ Nearest version: 1.0.1 ]
- Found 0 version(s) in PowerShell
At line:1 char:1
+ Install-Package Microsoft.PowerShell.SDK -Version 6.0.2 -Source https ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : Package restore failed. Rolling back package changes for 'Redacted.PowerShell'.
At line:1 char:1
+ Install-Package Microsoft.PowerShell.SDK -Version 6.0.2 -Source https ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Worse, MyGet has seemingly screwed up my account - I can no longer login with credentials that worked a month or so ago (and are stored in LastPass, so I definitely haven't forgotten them). To top it off, their password reset function isn't working.
Really looking forward to this being available without the pain...
Kent Boogaart (@kentcb)Mattacks Sorry for the delay. We are hitting some unforeseen issues. I am working on resolving those. A best estimate timeline for releasing on NuGet.org is before end of June.
I am still working on releasing the native dependencies for the Microsoft.PowerShell.SDK. Once they are out on Nuget.org, Microsoft.PowerShell.SDK should follow soon.
Appreciate you're working on it and apparently there were unexpected complications.
Do we have some estimate? It is preventing us from shipping now, so it would be great to have some good idea of when it will be available.
In case you guys were curious, at AWS today we released PowerShell Core support for AWS Lambda, our serverless offering. It's based on this NuGet package which was why I was pushing for this release. Thanks for pushing to get this released.
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-AnsweredThe question is answered.
Activity
SteveL-MSFT commentedon Mar 23, 2018
Can you be more specific what you mean by SDK? We recommend developers use https://www.nuget.org/packages/PowerShellStandard.Library for modules or https://powershell.myget.org/feed/powershell-core/package/nuget/System.Management.Automation for hosted scenarios.
normj commentedon Mar 23, 2018
Currently Microsoft.PowerShell.SDK is only on the PowerShell team's myget feed not NuGet.org. This package is what allows us to host a PowerShell environment in a .NET Core application on Linux.
https://powershell.myget.org/feed/powershell-core/package/nuget/Microsoft.PowerShell.SDK
jherby2k commentedon Mar 27, 2018
I was wondering the same thing. SteveL, that package is for hosting under full framework not a netcore project.
SteveL-MSFT commentedon Mar 27, 2018
Got it. Thanks.
cc Aditya Patwardhan (@adityapatwardhan)
adityapatwardhan commentedon Mar 27, 2018
We would evaluate releasing on Nuget.org during the next servicing release.
adityapatwardhan commentedon Apr 30, 2018
Norm Johanson (@normj) I am actively working on this and this should be out in a few days.
normj commentedon May 1, 2018
Awesome!
Mattacks commentedon May 15, 2018
Aditya Patwardhan (@adityapatwardhan)
Hi.
Any ETA on the for-.Net-core-package being properly published in NuGet? We (especially our legal departments) don't like referencing alternative NuGet repositories.
Matt
kentcb commentedon May 26, 2018
Came here looking for the same thing, mainly because I can't seem to consume from MyGet anymore:
Worse, MyGet has seemingly screwed up my account - I can no longer login with credentials that worked a month or so ago (and are stored in LastPass, so I definitely haven't forgotten them). To top it off, their password reset function isn't working.
Really looking forward to this being available without the pain...
adityapatwardhan commentedon May 29, 2018
Kent Boogaart (@kentcb) Mattacks Sorry for the delay. We are hitting some unforeseen issues. I am working on resolving those. A best estimate timeline for releasing on NuGet.org is before end of June.
kentcb commentedon Jun 30, 2018
Aditya Patwardhan (@adityapatwardhan) it's the end of June, so just pinging to get an update on where things are at.
fulghum commentedon Jul 13, 2018
Aditya Patwardhan (@adityapatwardhan) – any update on when Microsoft.PowerShell.SDK will be available for us to consume from NuGet.org?
MaximoTrinidad commentedon Jul 16, 2018
Yeah! I can't seems to be able to download Preview.3 using any of the command lines provided.
Only the Ga 6.0.2 can be downloaded.
:(
adityapatwardhan commentedon Jul 16, 2018
I am still working on releasing the native dependencies for the Microsoft.PowerShell.SDK. Once they are out on Nuget.org, Microsoft.PowerShell.SDK should follow soon.
khansen00 commentedon Jul 25, 2018
Appreciate you're working on it and apparently there were unexpected complications.
Do we have some estimate? It is preventing us from shipping now, so it would be great to have some good idea of when it will be available.
adityapatwardhan commentedon Jul 25, 2018
Thank you for your patience. An estimate for packages to be release on Nuget will be end of next week.
adityapatwardhan commentedon Aug 4, 2018
Quick update. We are testing the packages and would be publishing them to NuGet.org in a few days.
normj commentedon Aug 4, 2018
Awesome!
adityapatwardhan commentedon Aug 14, 2018
Norm Johanson (@normj) Kenneth Hansen (@khansen00) Maximo Trinidad (@MaximoTrinidad) Kent Boogaart (@kentcb) Mattacks Jeremy Herbison (@jherby2k)
Microsoft.PowerShell.SDKand related packages were released on NuGet.org today morning for PowerShell Core version 6.0.4.Please give them a try and re-open the issue if you see any problems.
MaximoTrinidad commentedon Aug 14, 2018
Awesome!
Thanks for the notification.
:)
normj commentedon Aug 16, 2018
Great news, thanks for getting this out.
normj commentedon Sep 11, 2018
In case you guys were curious, at AWS today we released PowerShell Core support for AWS Lambda, our serverless offering. It's based on this NuGet package which was why I was pushing for this release. Thanks for pushing to get this released.
https://aws.amazon.com/blogs/developer/announcing-lambda-support-for-powershell-core/
SteveL-MSFT commentedon Sep 11, 2018
Norm Johanson (@normj) congrats on supporting PSCore6 in AWS Lambda!