You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.
I'm upgrading a .NET Core 2.2 application to .NET Core 3.0 and, any time the code calls SaveChanges() on a DbContext, a System.InvalidCastException is thrown in Microsoft.AI.DependencyCollector.dll:
A System.InvalidCastException is thrown in Microsoft.AI.DependencyCollector.dll.
Expected Behavior
No exception is thrown.
Version Info
SDK Version (version of https://www.nuget.org/packages/Microsoft.ApplicationInsights.AspNetCore) : 2.8.1
.NET Core Version (TargetFramework in your .csproj file) : netcoreapp3.0
How Application was onboarded with SDK(Installed Nugets/VisualStudio/Azure WebAppExtension) : NuGet
OS : Windows 10
Hosting Info (IIS/Azure Web Apps/Running From Visual Studio etc) : Visual Studio
The text was updated successfully, but these errors were encountered:
I'm upgrading a .NET Core 2.2 application to .NET Core 3.0 and, any time the code calls SaveChanges() on a DbContext, a System.InvalidCastException is thrown in Microsoft.AI.DependencyCollector.dll:
Repro Steps
Actual Behavior
A System.InvalidCastException is thrown in Microsoft.AI.DependencyCollector.dll.
Expected Behavior
No exception is thrown.
Version Info
SDK Version (version of https://www.nuget.org/packages/Microsoft.ApplicationInsights.AspNetCore) : 2.8.1
.NET Core Version (TargetFramework in your .csproj file) : netcoreapp3.0
How Application was onboarded with SDK(Installed Nugets/VisualStudio/Azure WebAppExtension) : NuGet
OS : Windows 10
Hosting Info (IIS/Azure Web Apps/Running From Visual Studio etc) : Visual Studio
The text was updated successfully, but these errors were encountered: