The ConsoleExporter does not log anything to the Debug window when ConsolExporterOptions.Target is set to Debug.
The Release Solution Configuration project ignores any Debug class method invocations. However, a Release Solution Configuration project only generates output from a Trace class. (https://docs.microsoft.com/en-US/troubleshoot/dotnet/csharp/trace-and-debug)
Using Trace.WriteLine would log to the Debug window with Release configuration.
The ConsoleExporter does not log anything to the Debug window when ConsolExporterOptions.Target is set to Debug.
The Release Solution Configuration project ignores any Debug class method invocations. However, a Release Solution Configuration project only generates output from a Trace class. (https://docs.microsoft.com/en-US/troubleshoot/dotnet/csharp/trace-and-debug)
Using Trace.WriteLine would log to the Debug window with Release configuration.