I cleaned my bin folder, I still had the same issue. Finally, using binding redirect fix the problem for me. Added the following to web.config under <runtime><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
section:
<dependentAssembly>
<assemblyIdentity name="System.Diagnostics.DiagnosticSource" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="5.0.0.0" />
</dependentAssembly>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…