Skip to content

error NU1100: Unable to resolve [Some Package] #192

Answered by Noggog
Noggog asked this question in Q&A
Discussion options

You must be logged in to vote

Caused by Empty Nuget Config

Usually this is caused by an empty Nuget file. This file tells the computer where to go to download code packages that it needs. If it's empty, it will fail to download anything.
%appdata%/nuget/NuGet.Config

It's unclear how this file ends up empty for some users, but regardless, there's a decently simple fix.

Add Nuget.org Entry Back Manually

You can usually just make sure that this entry exists:
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />

Here is a typical Nuget.Config file, for reference:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <add key="nuget.org" value="https://api.nuget.org…

Replies: 1 comment 1 reply

Comment options

Noggog
Apr 18, 2021
Maintainer Author

You must be logged in to vote
1 reply
@FurriousFox
Comment options

Answer selected by Noggog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants