MCKanpolat/Log4net.Appenders.Fluentd

Only works when build configuration is set to Debug

ShaneCal-Irl opened this issue · 2 comments

We have a naming convention for our build configurations that are tied to our web.config transforms and CI pipeline. The build configuration names are

  1. Debug
  2. Test
  3. Production

I can only get this to work in my application when the build configuration in Visual Studio is set to Debug. I have no idea why this as the only difference between Test and Debug is name.

Is anyone else having this problem?

Hello @ShaneCal-Irl ,

Could you please double check below config file properties are set?

Solution Explorer > Select Config File Item > Right Click and Properties and in properties window
Copy to Output Directory propery = always or copy if newer

Thanks

Hello,

This was not set to Copy always. I have set this and can confirm the same behaviour.

It works when the build configuration is called Debug, but does not work when it's called Test