今天下午研发代码,发现调用其余小组研发的代码,发现其中有使用nlog功能,但nlog版本是2.0 ,而个人项目使用4.0 版本web
致使部分功能不能使用,故在web配置文件中加入如下代码便可spa
<dependentAssembly> <assemblyIdentity name="nlog" publicKeyToken="31bf3856ad364e35" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="4.0.0.0" /> </dependentAssembly>