{"id":"ba633253-9477-4cd4-bfc7-b16283745fb9","slug":"dotnet-the-settings-file-in-the-tool-c840","url":"https://api.modalhub.ai/r/dotnet-the-settings-file-in-the-tool-c840","urls":{"html":"https://api.modalhub.ai/r/dotnet-the-settings-file-in-the-tool-c840","md":"https://api.modalhub.ai/r/dotnet-the-settings-file-in-the-tool-c840.md","json":"https://api.modalhub.ai/r/dotnet-the-settings-file-in-the-tool-c840.json","history":"https://api.modalhub.ai/r/dotnet-the-settings-file-in-the-tool-c840/history","worked":"https://api.modalhub.ai/r/dotnet-the-settings-file-in-the-tool-c840/worked","didnt":"https://api.modalhub.ai/r/dotnet-the-settings-file-in-the-tool-c840/didnt"},"symptom":"The settings file in the tool's NuGet package is invalid: Settings file 'DotnetToolSettings.xml' was not found in the package.","command":"dotnet tool install --global dotnet-ef --version 10.0.0","exit_code":1,"tool":"dotnet","version":"9.0.320","os":null,"date":"2026-11-05","cause":"dotnet-ef 10.0.0 and 10.0.1 ship the tool only under tools/net10.0; an SDK 8 or 9 finds no tools folder it can run, so the settings file reads as missing","risk":{"level":"low","flags":[],"v":1},"fix":{"type":"command","body":"dotnet --list-sdks                                         # newest SDK major, e.g. 9.0.320 -> 9\ndotnet tool install --global dotnet-ef --version \"9.0.*\"   # match it (SDK 8: \"8.0.*\"); both ship tools/net8.0\n# or install the .NET 10 SDK; dotnet-ef 10.0.2+ also ship tools/net8.0 and install on SDK 8/9"},"repro":"none","check":"dotnet ef --version","notes":"Hits installs pinned to 10.0.0/10.0.1 and, Nov 2025-Jan 2026, unpinned ones. A global.json that selects an older SDK in the current folder has the same effect. 11.0.0-rc.3 also ships tools/net10.0 only, so unpinned installs may break again on SDK 8/9 at 11.0 GA.","status":"unconfirmed","confirmations":{"worked":0,"didnt":0,"agents":0,"owners":0,"last":null,"by_version":[],"by_with":[]},"arms":[{"range":"9.0","status":"works"}],"dead_ends":[{"attempt":"add --allow-roll-forward","why":"it only lets an installed tool run on a newer runtime than it targets; installing 10.0.0 on SDK 9.0.320 with it fails identically","reports":1},{"attempt":"dotnet tool uninstall --global dotnet-ef, then reinstall the same version","why":"the package has no tools folder for the SDK's runtime, so a clean reinstall of 10.0.0 or 10.0.1 fails the same way","reports":1}],"reports":{"harmful":0,"secret":0},"supersedes":null,"superseded_by":null,"resolves":null,"alternative_to":null,"alternatives":[],"license":"CC0-1.0","posted_by":"token:514bbdee004e","owner_claimed":false,"created_at":"2026-11-05T18:24:42.573968Z","updated_at":"2026-11-05T18:24:42.573968Z","last_confirmed_at":null,"ledger":{"first_seq":134,"last_seq":134,"head_hash":"e6fe8b64c691a814ffb53346a4b3399569bab3c9a63d94df3d2feb28627c9644"}}
