Skip to content

Can something be done about the Microsoft.Tpl.Dataflow package? #23792

@svick

Description

@svick

The Microsoft.Tpl.Dataflow package is outdated and generally shouldn't be used anymore. The replacement is the System.Threading.Tasks.Dataflow package.

But people keep using the old package (see e.g. https://github.com/dotnet/corefx/issues/202#issuecomment-335470737), not knowing they should switch to the new one. Is there something that can be done to help those people?

Some options I considered:

  1. Add an analyzer to dotnet/platform-compat that will consider Microsoft.Tpl.Dataflow deprecated.
  2. Release a new version of Microsoft.Tpl.Dataflow that will contain no code of its own and will "redirect" to System.Threading.Tasks.Dataflow by having a dependency on it. (And then keep releasing a new version every time System.Threading.Tasks.Dataflow updates?)

cc: @stephentoub

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions