Skip to content

.dll copy succeeds but still requests NuGet provider required to continue #1

@graffVCP

Description

@graffVCP

downloaded and extracted the .210 dll file successfully from https://www.powershellgallery.com/packages/PackageManagement/1.1.7.2
Placed into the working directory per instructions....
NuGet
--2.8.5.210
----Microsoft.PackageManagement.NuGetProvider.dll

Script navigates to the Modules\VMware.PowerCLI-11.0.0-10380590 successfully and that that is when it states it still needs "NuGet provider is required to continue"
"PowerShellGet requires NuGet provider version '2.8.5.201' or newer to interact with NuGet-based repositories..."

I went above and beyond the script by placing the Microsoft.PackageManagement.NuGetProvider.dll
in the c:\Program Files\PackageManagement\ProviderAssemblies\nuget and c:\users%userprofile%\AppData\Local\PackageManagement\ProviderAssemblies\NuGet directories and verified the script placed the .dll into the c:\Program Files (x86)\PackageManagement\ProviderAssemblies\

What is continuing to trigger the NuGet?

I've downloaded and tried different VMware.PowerCLI Modules version from both the PowerShellGallery and from https://code.vmware.com/web/dp/tool/vmware-powercli sites.

I saw the https://blogs.vmware.com/PowerCLI/ mentions under known issuese suggesting getting something newer than the standard "Older versions of PowerShellGet (Example: 1.0.0.1) will fail because it can’t handle the formatting of one specific PowerCLI version."

What version have you tested for PowerShellGet? I'll have to try that tomorrow since I"ve been trying this all day to work :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions