In short, when rebuilding my solution, the compiler is trying to find a NuGet package I no long want to use. How can I get my solution built and running again?
I'm using Visual Studio 2017 with a .Net C# WinForms app. I had an issue where the solution was trying to get an older version of a reference from the GAC instead of from the newer version installed from NuGet. I wanted to fix this by removing all references to this package from my solution. I uninstalled it using the NuGet package manager and I cleared it from the csproj file, the package.cs file, the app.config file and anywhere else I could find it. I deleted all the bin and obj folders. I don't see this package referenced in the References section of the project. Yet for some reason, when I rebuild the solution, I get an error saying that it can't find the reference in the GAC. Why is it still trying to find this package that isn't referenced anywhere? How can I stop the compiler from trying to look for this package?