How to use serilog with latest asp.net 5?

if I have

    "Microsoft.Framework.Logging.Console": "1.0.0-*,

and

    "Serilog.Framework.Logging": "1.0.0-*"

in mine project.json, then I get the following conflict:

The ILoggerFactory type exists in both Microsoft.Framework.Logging.Abstractions and Microsoft.Framework.Logging.Interfaces

The ILogger type exists in both Microsoft.Framework.Logging.Abstractions and Microsoft.Framework.Logging.Interfaces

+4
source share
1 answer

, project.json. announcement, , aspnet 1.0.0-beta5 , . , , Microsoft.Framework.Logging.Console OLD Microsoft.Framework.Logging.Interfaces Serilog.Framework.Logging Microsoft.Framework.Logging.Abstractions, .lock.json , 6 project.json, dnvm upgrade dnx. , )

0

All Articles