az application insights - Unable to find assembly System.Diagnostics.DiagnosticSource when using Remoting -
after adding application insights asp.net application (standard asp.net using .net 4.5.2) i've found exception when using .net remoting. exception is: unable find assembly 'system.diagnostics.diagnosticsource, version=4.0.2.1, culture=neutral, publickeytoken=cc7b13ffcd2ddd51' i don't understand what's going on here (it seems tracing crossing application domain boundaries), if add system.diagnostics.diagnosticsource nuget package remote service, error goes away. unfortunately, found i'm getting error when trying use sqldependency trigger cache refresh. there way disable tracing when using remoting, if that's what's going on, or there way resolve issue? server stack trace: @ system.runtime.serialization.formatters.binary.binaryassemblyinfo.getassembly() @ system.runtime.serialization.formatters.binary.objectreader.gettype(binaryassemblyinfo assemblyinfo, string name) @ system.runtime.serialization.formatters.binary.objectmap..ctor(str...