You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.IO.FileNotFoundException: 'Could not load file or assembly 'Serlolg.Sinks.Console, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.' #454
var logger = new LoggerConfiguration().ReadFrom.Configuration(cfg).CreateLogger();
this error is thrown:
System.IO.FileNotFoundException: 'Could not load file or assembly 'Serlolg.Sinks.Console, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.'
Technically, it is true: there is no such file:
I uninstalled and reinstalled Serilog.Sinks.Console but the error is still there.
I saw a similar issue #407 closed, but I cannot follow the same pattern as my organization blocks stack exchange, and I won't be able to either create a question there or see any answers, so please let this stay here.