Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure DevOps Build Solution using wrong version of package

I've got a 'Build Solution' step for a ASP.NET project in Azure DevOps and it's failing because it's trying to use an old version of a package. In my code it's only referenced in the packages.config and I've changed that entry to use version 1.0.7, but in Azure DevOps it's still trying to find 1.0.2 but fails to find it. Any ideas why it's trying to use the wrong package version or how to force it to get the new one? My project in visual studio has no references to the old version.

like image 333
Kevin Avatar asked Sep 05 '26 21:09

Kevin


1 Answers

There were references in the .csproj file that were trying to access the old file path, and that version of the package did not exist at that path. So I took the bad path out and it fixed the issue

like image 153
Kevin Avatar answered Sep 07 '26 17:09

Kevin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!