ASP.NET Core MVC application insights stopped working after upgrade to .NET Core 1.1.1
问题 I have one simple ASP.NET Core application I was working on back in December 2016. It worked just fine with application insights and telemetry. Now after 4 months I wanted to pick up this work and started with upgrade from .NET Core 1.1.0 to 1.1.1. In this process package Microsoft.ApplicationInsights.AspNetCore got updated from version 1.0.2 to version 2.0.0 . This unfortunately caused my app to stop working, in particular I get this error: An error occurred during the compilation of a