The posted answer is correct, but I will add that you can use the NuGet package manager so that you can get the latest version.
Right click on solution
-> Select "Manage NuGet Packages for Solution"
-> enter "serilog.extensions.logging" in the search field
-> Click on Serilog.Extensions.Logging and click install
You will get a drop-down list of the different versions that you should select last.
Or, faster from the package manager console, make sure that the Project Project drop-down list is pulled out of the project and starts
install-package Serilog.Extensions.Logging
James wierzba
source share