NLog throws configuration exception on all aspnet layout renderers

后端 未结 4 1385
盖世英雄少女心
盖世英雄少女心 2021-02-05 05:02

I have been working to set up NLog v2 on my ASP.NET MVC 3 application and it has worked very well so far. (I\'m using the package from the offical nuGet repository) However, w

4条回答
  •  故里飘歌
    2021-02-05 06:06

    Make sure you have referenced the NLog.Extended assembly which is where those layouts are defined and which must have been added by the NuGet package as well to the references:

    
    
        
            
        
    
        
    
        
            
        
    
        
            
        
    
    
    

提交回复
热议问题