How to use serilog with latest asp.net 5? -


if have both

    "microsoft.framework.logging.console": "1.0.0-*, 

and

    "serilog.framework.logging": "1.0.0-*" 

in project.json, i'm getting following conflict:

the type iloggerfactory exists in both microsoft.framework.logging.abstractions , microsoft.framework.logging.interfaces

the type ilogger exists in both microsoft.framework.logging.abstractions , microsoft.framework.logging.interfaces

looks have mixed old , new packages in project.json. take @ announcement, can see in aspnet 1.0.0-beta5 packages renamed. so,for example, microsoft.framework.logging.console depends on old microsoft.framework.logging.interfaces , serilog.framework.logging depends on new microsoft.framework.logging.abstractions, @ project.lock.json dependency details. try update packages beta6 version in project.json, not forget dnvm upgrade dnx. hope ) thanks


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -