According to the WMF 5.1 release notes, it states:
Support for PackageManagement on computers with Intranet access only
Solution: In WMF 5.1, you can follow these steps to allow Intranet computers to use PackageManagement:
Download the NuGet provider using another computer that has an Internet connection by using Install-PackageProvider -Name NuGet.
Find the NuGet provider under either $env:ProgramFiles\PackageManagement\ProviderAssemblies\nuget or $env:LOCALAPPDATA\PackageManagement\ProviderAssemblies\nuget.
Copy the binaries to a folder or network share location that the Intranet computer can access, and then install the NuGet provider with Install-PackageProvider -Name NuGet -Source .
However, I follow these instructions to the letter, and I'm not able to get this working for the life of me. Below is the error I'll get when attempting to execute the Install-PackageProvider cmdlet after copying the binaries to a network share (or locally; either way it fails):
Install-PackageProvider : No match was found for the specified search criteria for the provider 'NuGet'. The package provider requires 'PackageManagement' and 'Provider' tags. Please check if the specified package has the tags.
Has anyone had success with this, or is this a common issue and simply does not work as advertised?
According to the WMF 5.1 release notes, it states:
However, I follow these instructions to the letter, and I'm not able to get this working for the life of me. Below is the error I'll get when attempting to execute the Install-PackageProvider cmdlet after copying the binaries to a network share (or locally; either way it fails):
Install-PackageProvider : No match was found for the specified search criteria for the provider 'NuGet'. The package provider requires 'PackageManagement' and 'Provider' tags. Please check if the specified package has the tags.Has anyone had success with this, or is this a common issue and simply does not work as advertised?