Could not load file or assembly 'Microsoft.AI.Web' or one of its dependencies.

Could not load file or assembly 'Microsoft.AI.Web' or one of its dependencies.

Please follow the following steps and fix the issue:-

Install-Package Microsoft.ApplicationInsights.Web

To install Application Insights only to the Web/API Project:


Install-Package Microsoft.ApplicationInsights.Web YourProjectName

To run these commands, in Visual Studio open Package Manager by clicking on: Tools -> NuGet Package Manager -> Package Manager Console



Thanks, for reading the blog, I hope it helps you. Please share this link on your social media accounts so that others can read our valuable content. Share your queries with our expert team and get Free Expert Advice for Your Business today.


About Writer

Ravinder Singh

Full Stack Developer
I have 12+ years of experience in commercial software development. I write this blog as a kind of knowledge base for myself. When I read about something interesting or learn anything I will write about it. I think when writing about a topic you concentrate more and therefore have better study results. The second reason why I write this blog is, that I love teaching and I hope that people find their way on here and can benefit from my content.

Hire me on Linkedin

My portfolio

Ravinder Singh Full Stack Developer