Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

System.Diagnostics.DiagnosticSource Exception

$
0
0

Hi All,

I got below exception in ASP.Net core.

Layer:

Business => Data, Common

Web=> Business

System.IO.FileLoadException occurred
  HResult=0x80131040
  Message=Could not load file or assembly 'System.Diagnostics.DiagnosticSource, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
  Source=Microsoft.ApplicationInsights.AspNetCore
  StackTrace:
   at Microsoft.Extensions.DependencyInjection.ApplicationInsightsExtensions.AddApplicationInsightsTelemetry(IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.ApplicationInsightsWebHostBuilderExtensions.<>c.<UseApplicationInsights>b__0_0(IServiceCollection collection)
   at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildCommonServices()
   at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
   at ParticleTrack.Web.Program.Main(String[] args) in F:\VSTS\Track\PTrack.Web\Program.cs:line 14

==========
Could not load file or assembly 'System.Diagnostics.DiagnosticSource, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Thanks,


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>