-
Notifications
You must be signed in to change notification settings - Fork 250
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
Nuget isn't working for me on VS. #3281
Comments
try adding the v3 source: https://api.nuget.org/v3/index.json |
Like duplicate of #2880 . |
I don't believe it's a duplicate. The error is different. Also there is no http_proxy variable on my machine. |
V3 source is the same [nuget V3] Unable to load the service index for source https://api.nuget.org/v3/index.json. |
Figure it out on my own. Deleted the %AppData%\NuGet\nuget.config and restarted VS2015 |
@Alexzxz very strange, your nuget.config may have contained proxy settings that were causing your requests to fail. |
I did the same as @Wua4 and got a new <packageRestore>
<add key="enabled" value="True" />
<add key="automatic" value="True" />
</packageRestore>
<bindingRedirects>
<add key="skip" value="False" />
</bindingRedirects>
<packageManagement>
<add key="format" value="1" />
<add key="disabled" value="False" />
</packageManagement> Now it works fine! |
Had the same - just as an FYI for anyone else fixing this in future, since I have a lot of different projects with a lot of different nuget.config files - this comes up when you have 2 different Nuget.configs for the same project - (Can often happen if you have maybe an outdated save version via a one Drive save for example - then you wont be able to download ANY nugget packages for ANY projects (even if the duplicate is within a seperate project) so best way to resolve it is checking for any duplicate Nuget.Config and yeah deleting them) |
Can some one paste the full content of the |
When opening the package manager in VS2015;
I can't install packages like this.
The text was updated successfully, but these errors were encountered: