Topics

Forum Topics not found

Replies

gennadiy.stepanov.1986
08 Dec 2020, 18:21

RE: Using the TPL Dataflow library??

collinismaelci203 said:

Hi All,

I'm hoping someone can help me figure this out...

I'm trying to get the use of the System.Threading.Tasks.Dataflow library / namespace for a cBot, but am running into issues. I've tried a couple of ways:

1) In cTrader:

Method: Manage References -> .NET Framework -> Microsoft.Internal.Tasks.Dataflow

Error: E.g. 'ActionBlock<>' is inaccessible due to its protection level jiofi

2) In Visual Studio 2019:

(i) Method: NuGet Package Manager -> System.Threading.Tasks.Dataflow

Error: You are trying to install this Mobdro package into a Kodi project that targets '.NETFramework,Version=v4.0,Profile=Client', but bluehost the package does not contain any assembly references or content files that are compatible with that framework.

(ii) Method: Add References -> From file: System.Threading.Tasks.Dataflow.dll (various versions)

Error: E.g. The type 'Action<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=...'

Is there a way to get this working? I'd really appreciate any support.

Thanks,

I have been looking for this information for a long time, I was very surprised when I found it here.


@gennadiy.stepanov.1986