Jyri Hujanen
Jyri Hujanen
I did run into this same issue, and what I did was to comment out this and migrations succeeded ```csharp //public ArchiveContext(DbContextOptions options) //: base(options) { } ``` ```text Unable...
And if you add a parameterless constructor to you dbcontext then migrations work also ```csharp public ArchiveContext(DbContextOptions options) : base(options) { } public ArchiveContext() { } ```
There is difference when using options and just straight `args` when configuring the email sink ```csharp Email(from, to, host, port, connectionSecurity, credentials, subject, body, formatProvider, restrictedToMinimumLevel, levelSwitch) Email(options, batchingOptions, restrictedToMinimumLevel,...
So to get the Subject to work with `options` you need to create your own class like this ```csharp using Serilog.Events; using Serilog.Formatting; using System.IO; namespace FolderWatcher; public class WatcherSubject:...
The appsetting properties are same as in readme code sample like this. These must have changed at some point as I also had those in older code, and when I...