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)