[
https://issues.apache.org/jira/browse/LOG4NET-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
NN updated LOG4NET-478:
-----------------------
Attachment: LOG4NET-478.patch
Better feature check
> TPL for .NET 3.5
> ----------------
>
> Key: LOG4NET-478
> URL: https://issues.apache.org/jira/browse/LOG4NET-478
> Project: Log4net
> Issue Type: Improvement
> Components: Appenders
> Affects Versions: 1.3.0
> Reporter: NN
> Labels: easyfix, features, patch
> Attachments: LOG4NET-478.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> AsyncAppender has the following code:
> #if FRAMEWORK_4_0_OR_ABOVE
> logTask = new Task(() => { });
> logTask.Start();
> #endif
> Instead of checking framework version it is better to check another macro
> like HAS_TPL.
> There is a TPL support for .NET 3.5 through unofficial System.Threading (
> https://www.nuget.org/packages/System.Threading.dll/ )
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)