0

I have two seperate solutions (frontend, backend). They share a common project that handles logging, called Logging.proj (just a class library).

Frontend solution is just a website, there I have my log4net.config in the root and the register it in AssemblyInfo.cs:

[assembly: log4net.Config.XmlConfigurator(ConfigFile = "log4net.config", Watch = true)]

But when calling my WCF backend solution I can't get and register log4net.config.

I tried to add log4net.config inside Loggin.proj root and register in Loggin.proj/AssemblyInfo.cs, but it doesn't seems to find and being able to register it..

I would like to have a common log4net.config file shared between 2 different solutions.

Uwe Keim
  • 39,551
  • 56
  • 175
  • 291
MrProgram
  • 5,044
  • 13
  • 58
  • 98

0 Answers0