Keeping NuGet packages up to date is a recommended practice for most development teams. Package updates can provide security fixes, bug fixes, performance improvements, and new features. However, updating NuGet packages can sometimes introduce assembly version mismatches or missing dependencies, which may only become visible at runtime.
In this blog, we will look at one such issue that occurred in a .NET Framework 4.8 application hosted in IIS, where the error message pointed to the missing assembly.
Prerequisites:
The issue described in this blog occurred in,
.NET Framework 4.8
ASP.NET application hosted in IIS
NuGet packages updated to newer versions
IIS application configured for application auto-start/preloading