-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot Install Package Provider in Intranet Scenario #308
Comments
Do you see any warnings printed before this? Can you confirm the version of NuGetProvider you're trying to install? Since you've referenced WMF 5.1, I assume you're using the PowerShell that came with Windows - is that correct? If so, what version of PowerShell? There seems to be a manifest issue in different versions of the NuGet provider, but I'm not sure of the correlation yet. I'll schedule this for a 1.1.7.0 hotfix. @jianyunt Can I point @MichaelStankiewicz to v2.8.5.206-fullclr in the blob store, which seems to work? |
@MichaelStankiewicz It works for me, I've created a DSC resource that does this bootstrap for me. |
@brywang-msft No warnings before the error. The version of the NuGet provider I'm attempting to install is 2.8.5.208. The version of PowerShell I'm using is below for your reference:
|
@gaelcolas So looking at your implementation, you aren't using the same cmdlet in question here, so therefore I don't think your statement is accurate when you say it is 'working for you'. Rather, based on what I can see in your code, you are performing a simple file copy operation and not using the cmdlet Install-PackageProvider. I'm not sure how the implementation differs from your logic, but clearly this is not an 'apples to apples' comparison. |
True, I meant to say that I managed to get PackageManagement working on offline machines, by using that approach. |
Okay, so two things:
Install-PackageProvider -Name NuGetProvider -Source \\network\location\eh @jianyunt @JKeithB What should be the action here?
Action items:
|
@brywang-msft I just tested running the Below is the exact output of my commands:
|
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?
The text was updated successfully, but these errors were encountered: