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.
Hire me on Linkedin
My portfolio