Net Core使用Log4net报错,添加代码即可
static void Main(string[] args){
System.Text.Encoding.RegisterProvider(System.Text.CodePagesEncodingProvider.Instance);
}
转自:https://stackoverflow.com/questions/64109799/log4neterror-could-not-create-appender-console-of-type-log4net-appender-colo