开发者

log4net - publish from VSIDE work but MSBuild(using NANT) doesnt

开发者 https://www.devze.com 2023-02-06 20:24 出处:网络
log4net generates logfiles when i used the Published version of VSIDE but when I build the same project with MSBuild.exe no l开发者_JAVA技巧ogfiles are created.Its was the build scripts and nothing to

log4net generates logfiles when i used the Published version of VSIDE but when I build the same project with MSBuild.exe no l开发者_JAVA技巧ogfiles are created.


Its was the build scripts and nothing to do with MSBUILD.exe

Log4Net configuration specified the AssemblyInfo.cs, was overwritten by Build script for version stamping.

Moved the Log4net.Xml....Configure() to Program.cs & Global.asax.cs's Application_Start

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号