Skip to content
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

No packages will install #9432

Closed
Sampleeeee opened this issue Apr 14, 2020 · 2 comments
Closed

No packages will install #9432

Sampleeeee opened this issue Apr 14, 2020 · 2 comments
Labels
Area:Settings NuGet.Config and related issues Product:VS.Client Resolution:Question This issues appears to be a question, not a product defect

Comments

@Sampleeeee
Copy link

Details about Problem

NuGet product used (NuGet.exe | VS UI | Package Manager Console | dotnet.exe):
Jetbrains Rider UI

NuGet version: 5.5.0

dotnet.exe --version: 2.1.512

VS version: Community 2019

OS version: Version 1909 (OS Build 18363.720)

Detailed repro steps so we can see the same problem

  1. Right click on project

  2. Manage NuGet Packages

  3. Choose any package, so far I have tested Newtonsoft.Json, CitizenFX.Core.Client, and CitizenFX.Core.Server

  4. Install the package

  5. Get error:

Severity	Code	Description	Project	File	Line	Suppression State
Error		Exception 'System.AggregateException' thrown when trying to add source 'http://packagesource'. Please verify all your online package sources are available.
One or more errors occurred.
Unable to load the service index for source http://packagesource.
An error occurred while sending the request.
The remote name could not be resolved: 'packagesource'				

Other suggested things

Verbose Logs

Unsure of how to do this on Visual Studio 2019, if someone can tell me how, I'd happily do it.

Sample Project

I'll just zip the project I'm currently using
MarvosaCADServer.zip

@donnie-msft donnie-msft added Area:Settings NuGet.Config and related issues Product:VS.Client Resolution:Question This issues appears to be a question, not a product defect WaitingForCustomer Applied when a NuGet triage person needs more info from the OP labels Apr 14, 2020
@donnie-msft
Copy link
Contributor

donnie-msft commented Apr 14, 2020

Please review the Package Source documentation. It looks like you have an improperly configured source pointing to http://packagesource.

@nkolev92 nkolev92 removed the WaitingForCustomer Applied when a NuGet triage person needs more info from the OP label May 27, 2020
@nkolev92
Copy link
Member

Closing this per the above answer.

#8420 is tracking an improvement on config discovery and #7973 is tracking config management.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area:Settings NuGet.Config and related issues Product:VS.Client Resolution:Question This issues appears to be a question, not a product defect
Projects
None yet
Development

No branches or pull requests

4 participants