Search code examples
c#.netmultithreading.net-framework-versiondowngrade

How to use the System.Threading.Tasks Class on .NET Framework 3.5


Now, the based project has used System.Threading.Tasks Class on .NET Framework 4.0, but need to target for .NET Framework 3.5 how to do it? Import any dll? thanks for your answer.


Solution

  • I think System.Threading.Tasks.Unofficial or TaskParallelLibrary are good choices for you. Take a look at the following packages on NuGet:

    https://www.nuget.org/packages/System.Threading.Tasks.Unofficial/

    https://www.nuget.org/packages/TaskParallelLibrary/