TIL: How to Fix the Missing Deps File in Visual Studio
11 May 2026 #todayilearned #visualstudioAfter updating Visual Studio last week, I woke up with this error message: The local resource “C:/Some/Path/Somefile.Deps” doesn’t not exist.
None of the projects inside my solution compiled. I cleaned it, recompiled it, and even restarted Visual Studio. None of that worked.
The problem was a broken NuGet source left behind after running my digital decluttering plan.
To honor the 20-min rule, buried in this StackOverflow answer was the solution:
- List all the Nuget sources with
dotnet nuget list source - Remove the broken source with
dotnet nuget remove source <source-name>
Et voilà!
Mastering your IDE is just one of the 30 lessons in Street-Smart Coding—the roadmap I wish I had on my journey from junior to senior.