Log4Net “Could not find schema information” messages

后端 未结 13 797
故里飘歌
故里飘歌 2020-12-01 04:17

I decided to use log4net as a logger for a new webservice project. Everything is working fine, but I get a lot of messages like the one below, for every log4net tag I am usi

13条回答
  •  有刺的猬
    2020-12-01 04:36

    For VS2008 just add the log4net.xsd file to your project; VS looks in the project folder as well as the installation directory that Wheelie mentioned.

    Also, using a .config extension instead of .xml avoids the security issue since IIS doesn't serve *.config files by default.

提交回复
热议问题