Nlog: Does target types no longer support dot (.)?

Created on 28 Mar 2019  路  7Comments  路  Source: NLog/NLog

I currently have a target looking like this:

[Target("elmah.io")]
public class ElmahIoTarget : TargetWithLayout

This worked pre 4.6 when referencing the target using the type elmah.io. After upgrading to 4.6, the dot no longer seems allowed in the target name:

Target cannot be found: 'io'

I've tried removing the dot from both the target and the config which works in 4.6.

Is dots no longer allowed in target types or is there another way to get it to work? Removing the dot from the target type would break all existing config out there :smile:

bug

Most helpful comment

4.6.1 is now in the deployment queue :)

All 7 comments

Believe it is my fault. Should be fixed with #3199 (NLog 4.6.1)

Sorry about the noise

No worries. When is 4.6.1 scheduled for release?

this week

closed by #3199

4.6.1 is now in the deployment queue :)

Thank you for the rapid response and quick turnaround. You guys rock as always!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

imanushin picture imanushin  路  3Comments

ranjan-2209 picture ranjan-2209  路  3Comments

Jerefeny picture Jerefeny  路  3Comments

Rapiiidooo picture Rapiiidooo  路  3Comments

Sam13 picture Sam13  路  3Comments