I recently upgraded Azure.Core in my .NET application from 1.47.3 to 1.50.0.However, even after the upgrade, my API is still throwing this exception:
System.IO.FileLoadException: Could not load file or assembly
'Azure.Core, Version=1.47.3.0, Culture=neutral, PublicKeyToken=92742159e12e44c8'
or one of its dependencies. The located assembly's manifest definition
does not match the assembly reference. (Exception from HRESULT: 0x80131040)
I have already tried:
Updating Azure.Core to 1.50.0
Updating dependent packages such as
Azure.Storage.Files.SharesAzure.Storage.Common
Cleaning solution, deleting
/binand/objEnsuring csproj shows only Azure.Core 1.50.0
Manually confirming that no other project references 1.47.3
But I still get this assembly mismatch. project is .NET Framework (not .NET Core),Any guidance on how to find and remove the leftover Azure.Core 1.47.3 reference is appreciated.
app.configorweb.configif necessary.