Skip to content

[PackageManagement] NugetLight packagemangement provider missing #1163

Closed

Description

Steps to reproduce

$repositoryName = "INTGallery"
$repositoryLocation = "https://www.powershellgallery.com/api/v2/"
$Provider = "NugetLight"
Register-PSRepository -Name $repositoryName -SourceLocation $repositoryLocation -PackageManagementProvider $provider -InstallationPolicy Trusted

Expected behavior

registration should succeed

Actual behavior

PackageManagement\Import-PackageProvider : No match was found for the specified search criteria and provider name
'NuGet'. Try 'Get-PackageProvider -ListAvailable' to see if the provider exists on the system.
At D:\v0.5.0-60-g09238a9\Modules\PSGet\PSModule.psm1:7195 char:25
+ ...     $null = PackageManagement\Import-PackageProvider -Name $script:Nu ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (NuGet:String) [Import-PackageProvider], Exception
    + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.ImportPackageProv
   ider

Environment data

v0.4.0

> $PSVersionTable
Name                           Value
----                           -----
GitCommitId                    v0.5.0-60-g09238a9f1a05e1b3655f4862c941e31a8371905a
BuildVersion                   3.0.0.0
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
WSManStackVersion              3.0
PSEdition                      Core
SerializationVersion           1.1.0.1
PSVersion                      5.1.10032.0
PSRemotingProtocolVersion      2.3
CLRVersion
$ dotnet --info
https://ci.appveyor.com/project/PowerShell/powershell/build/0.4.0.2555/artifacts

$ git rev-parse HEAD; git status
https://ci.appveyor.com/project/PowerShell/powershell/build/0.4.0.2555/artifacts

Activity

  1. vors commented on Jun 21, 2016

    @vors
    Collaborator

    Quoc Truong (@quoctruong) can you take a look?

  2. quoctruong commented on Jun 21, 2016

    @quoctruong

    Travis Plunk (@TravisEz13) Hi Travis, Raghu Shantha (@raghushantha) and I are working on enabling OneGet. We got it to build but a number of scenarios are still broken (like the issue here). We will fix those soon!

  3. added
    Issue-Bug
    on Jun 21, 2016
  4. changed the title [-]NugetLight packagemangement provider missing[/-] [+][PackageManagement] NugetLight packagemangement provider missing[/+] on Jun 22, 2016
  5. added
    Area-PackageManagement
    on Jun 27, 2016
  6. raghushantha commented on Jul 5, 2016

    @raghushantha
    Member

    Travis Plunk (@TravisEz13) There is only one Nuget provider that ships with CorePowerShell. There is no Light provider.

    Using the NugetProvider out-of-box works fine except the Register part (Register-PackageSource).

    This will be fixed by PR #1282

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Area-PackageManagementIssue-BugResolution-Fixed

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions