9 Replies
How to fix this?
When I published and created the build it didn't update to newer version in the bin folder.
Where is this? A bin folder doesn't list dependencies by folder?
If it is, would a project clean fix it or does it persist?
This is the packages folder.
The Nuget packages folder?
I think it doesn't get rid of old versions after you updated?
Yup and when I publish in the bin folder the DLL doesn't get updated with the latest version
Are you sure your csproj references the new version?
Does it uses web.config info or .csproj to decide on the version?
usually csproj. there are a couple situations where its not in the csproj but if you target netcore+/net5+ you shouldnt be affected by the other case
Sorry, perhaps I am fixated on what I think is supposed to be the version control in your project but it is possible it is different
I would assume it's always the csproj. You can open it and check for the dependencies. Validate the versions are what you expect