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

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

python - How to remove the Xframe Options header in django? -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -