{
  "id": "dotnet/nuget-package-restore-failure",
  "signature": "error NU1101: Unable to find package 'PackageName'. No packages exist with this id in source(s): nuget.org, local-cache",
  "signature_zh": "错误 NU1101: 无法找到包 'PackageName'。在源 nuget.org、local-cache 中不存在具有此 ID 的包。",
  "regex": "error NU1101.*Unable to find package.*No packages exist with this id in source",
  "domain": "dotnet",
  "category": "build_error",
  "subcategory": null,
  "root_cause": "NuGet package restore cannot locate the specified package in any configured package source, either due to typo, missing package, or source misconfiguration.",
  "root_cause_type": "generic",
  "root_cause_zh": "NuGet 包还原在任何配置的包源中都找不到指定的包，可能是由于拼写错误、包缺失或源配置错误。",
  "versions": [
    {
      "version": "dotnet 6.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "dotnet 8.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "NuGet 6.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "NuGet 6.8",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "If the package doesn't exist in the source, clearing cache won't help; it just re-downloads the same error.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "May introduce untrusted packages or malware; doesn't solve the missing package issue.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "NuGet restore may still try to fetch from configured sources and ignore local files if not properly referenced.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Verify the package name and version in the .csproj file. Use dotnet list package --outdated to check available versions.",
      "success_rate": 0.9,
      "how": "Verify the package name and version in the .csproj file. Use dotnet list package --outdated to check available versions.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Add the correct NuGet source (e.g., private feed) using dotnet nuget add source. Example:",
      "success_rate": 0.85,
      "how": "Add the correct NuGet source (e.g., private feed) using dotnet nuget add source. Example:",
      "condition": "",
      "sources": []
    },
    {
      "action": "If the package is internal, build and pack it first, then reference the local .nupkg file. Example:",
      "success_rate": 0.8,
      "how": "If the package is internal, build and pack it first, then reference the local .nupkg file. Example:",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Verify the package name and version in the .csproj file. Use dotnet list package --outdated to check available versions.",
    "Add the correct NuGet source (e.g., private feed) using dotnet nuget add source. Example:",
    "If the package is internal, build and pack it first, then reference the local .nupkg file. Example:"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://learn.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu1101",
  "official_doc_section": null,
  "error_code": "NU1101",
  "verification_tier": "ai_generated",
  "confidence": 0.89,
  "fix_success_rate": 0.92,
  "resolvable": "true",
  "first_seen": "2023-02-05",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}