asp.net - AspNetSession layout renderer not working -


i using nlog logging in asp.net 4.5 website. have used nlog 4.0. need use session variables in logs. tries use aspnetsession layout renderer. layout renderer included in nlog.web. have added dll , under extensions tag in nlog config file. gives following error:

argumentexception: layoutrenderer cannot found: 'aspnet-session'

i have added nlog.extended dll , under extensions tag in nlog config file. didn't help.

please let me know should do.

enter image description here

you need install nlog.web assembly nuget using following command.

install-package nlog.web 

Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -