Could not load file or assembly 'System.Diagnostics.DiagnosticSource, in Heroku

0

I'm uploading an asp.net core 2.0 application on heroku. But it has the following error in the log:

  

Unhandled Exception: System.IO.FileLoadException: Could not load file   or assembly 'System.Diagnostics.DiagnosticSource, Version = 4.0.2.1,   Culture = neutral, PublicKeyToken = cc7b13ffcd2ddd51 '. The located   assembly's manifest definition does not match the assembly reference.   (Exception from HRESULT: 0x80131040)

    
asked by anonymous 02.03.2018 / 02:30

0 answers