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

Installing a package from PackageManager console with setting "All" tries only first source #2557

Closed
skofman1 opened this Issue Apr 15, 2016 · 2 comments

Comments

Projects
None yet
5 participants
@skofman1

skofman1 commented Apr 15, 2016

Repro steps:

  1. Set myget as top source (for example), and Nuget as second source
  2. Open Package MAnager Console
  3. Try to install package: Install-Package Microsoft.ApplicationInsights.Web -Pre
Install will fail since only download from myget is attempted:
GET https://myget-2e16.kxcdn.com/artifacts/nugetbuild/nuget/v3/flatcontainer/microsoft.diagnostics.tracing.eventsource.redist/1.1.28/microsoft.diagnostics.tracing.eventsource.redist.1.1.28.nupkg
  NotFound https://myget-2e16.kxcdn.com/artifacts/nugetbuild/nuget/v3/flatcontainer/microsoft.diagnostics.tracing.eventsource.redist/1.1.28/microsoft.diagnostics.tracing.eventsource.redist.1.1.28.nupkg 605ms
Install failed. Rolling back...
Uninstalling NuGet package Microsoft.Diagnostics.Tracing.EventSource.Redist.1.1.28.
Install-Package : Package 'Microsoft.Diagnostics.Tracing.EventSource.Redist.1.1.28' is not found on source 'https://www.myget.org/F/nugetbuild/api/v3/index.json'.
At line:1 char:1
+ Install-Package Microsoft.Diagnostics.Tracing.EventSource.Redist
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

@rrelyea rrelyea added this to the 3.4.3 milestone Apr 18, 2016

@alpaix

This comment has been minimized.

Show comment
Hide comment
@alpaix

alpaix Apr 18, 2016

The behavior is similar to #2322. But this time it manifests itself in Powershell cmdlet.

alpaix commented Apr 18, 2016

The behavior is similar to #2322. But this time it manifests itself in Powershell cmdlet.

@joelverhagen

This comment has been minimized.

Show comment
Hide comment
@joelverhagen
Member

joelverhagen commented Apr 29, 2016

@zhili1208 zhili1208 modified the milestones: 3.5 Beta2, 3.6 Beta Jun 22, 2016

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