{"action":"created","issue":{"url":"https://api.github.com/repos/NLog/NLog/issues/2944","repository_url":"https://api.github.com/repos/NLog/NLog","labels_url":"https://api.github.com/repos/NLog/NLog/issues/2944/labels{/name}","comments_url":"https://api.github.com/repos/NLog/NLog/issues/2944/comments","events_url":"https://api.github.com/repos/NLog/NLog/issues/2944/events","html_url":"https://github.com/NLog/NLog/issues/2944","id":366439169,"node_id":"MDU6SXNzdWUzNjY0MzkxNjk=","number":2944,"title":"Extend NLog target extension type-name loading","user":{"login":"snakefoot","id":11509660,"node_id":"MDQ6VXNlcjExNTA5NjYw","avatar_url":"https://avatars3.githubusercontent.com/u/11509660?v=4","gravatar_id":"","url":"https://api.github.com/users/snakefoot","html_url":"https://github.com/snakefoot","followers_url":"https://api.github.com/users/snakefoot/followers","following_url":"https://api.github.com/users/snakefoot/following{/other_user}","gists_url":"https://api.github.com/users/snakefoot/gists{/gist_id}","starred_url":"https://api.github.com/users/snakefoot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snakefoot/subscriptions","organizations_url":"https://api.github.com/users/snakefoot/orgs","repos_url":"https://api.github.com/users/snakefoot/repos","events_url":"https://api.github.com/users/snakefoot/events{/privacy}","received_events_url":"https://api.github.com/users/snakefoot/received_events","type":"User","site_admin":false},"labels":[{"id":32727452,"node_id":"MDU6TGFiZWwzMjcyNzQ1Mg==","url":"https://api.github.com/repos/NLog/NLog/labels/feature","name":"feature","color":"02e10c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-03T17:08:08Z","updated_at":"2018-10-04T12:15:38Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Right now on NetCore one must remember to add extension targets to the extensions-section.\r\n\r\nBut actually many extension targets have very good names, so could consider registering a target like this:\r\n\r\nhttps://www.nuget.org/packages/NLog.Targets.Seq\r\n\r\nTarget-alias: **Seq**\r\nTarget-Assembly: **NLog.Targets.Seq**\r\n\r\nThen one could support this declare of type:\r\n\r\n`<target xsi:type=\"NLog.Targets.Seq\" serverUrl=\"http://localhost:5341\" apiKey=\"\" />`\r\n\r\nAnd the config-loader would then do the following:\r\n\r\n- Check if any targets registered as `NLog.Targets.Seq`\r\n- Check if any targets registered as `Seq`\r\n- Attempt to resolve assembly `NLog.Targets.Seq` (Unless already tried)\r\n- Perform the two previous checks again\r\n\r\nThen it would not be necessary to have `NLog.Targets.Seq` in the `extensions`-section.\r\n\r\nIt would then just be a matter of updating the guide-lines for naming packages with NLog Target Extensions.\r\n\r\nOne could also consider to add full typename-support: **SeqTarget, NLog.Targets.Seq**"},"comment":{"url":"https://api.github.com/repos/NLog/NLog/issues/comments/426996188","html_url":"https://github.com/NLog/NLog/issues/2944#issuecomment-426996188","issue_url":"https://api.github.com/repos/NLog/NLog/issues/2944","id":426996188,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjk5NjE4OA==","user":{"login":"304NotModified","id":5808377,"node_id":"MDQ6VXNlcjU4MDgzNzc=","avatar_url":"https://avatars1.githubusercontent.com/u/5808377?v=4","gravatar_id":"","url":"https://api.github.com/users/304NotModified","html_url":"https://github.com/304NotModified","followers_url":"https://api.github.com/users/304NotModified/followers","following_url":"https://api.github.com/users/304NotModified/following{/other_user}","gists_url":"https://api.github.com/users/304NotModified/gists{/gist_id}","starred_url":"https://api.github.com/users/304NotModified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/304NotModified/subscriptions","organizations_url":"https://api.github.com/users/304NotModified/orgs","repos_url":"https://api.github.com/users/304NotModified/repos","events_url":"https://api.github.com/users/304NotModified/events{/privacy}","received_events_url":"https://api.github.com/users/304NotModified/received_events","type":"User","site_admin":false},"created_at":"2018-10-04T12:15:38Z","updated_at":"2018-10-04T12:15:38Z","author_association":"MEMBER","body":"> It would then just be a matter of updating the guide-lines for naming packages with NLog Target Extensions.\r\n\r\nAnother option is to name the dll the same as the target?"}}
{"actor":{"display_login":"304NotModified"}}