Visual Studio 2012 RTM Portable Libraries and TPL Dataflow

Answered Visual Studio 2012 RTM Portable Libraries and TPL Dataflow

  • Monday, September 03, 2012 8:57 PM
     
     
    So since TPL Dataflow is now an exclusive nuget package how do I go about using it in a portable class library project.  Nuget does not work well with PCL and fails to install the TPL Dataflow package.  Any guidance will be greatly appreciated here.  Thanks.

All Replies

  • Monday, September 17, 2012 6:23 PM
     
     Proposed

    Thanks for trying it out. We're aware of the limitations of NuGet with regards to portable - this will be fixed in NuGet 2.1.

    As a workaround, I apply the package to one of the platform-specific projects (or a temporary platform-specific project) and then manually reference the binary from the package folder. Referencing either the winrt45 or net45 doesn't matter as they are both the same.

    As a note, only a portable library targeting .NET 4.5 and Window Store apps-only can reference dataflow.


    Base Class Library Team (BCL) | My Blog: http://davesbox.com

  • Saturday, October 20, 2012 12:13 PM
     
     

    NuGet 2.1 is now out, with support for portable libraries.

    Could we get an update to the official package that includes .NET 4.5 + Windows Store portable library support?

    Thanks,

           -Steve

  • Wednesday, October 24, 2012 9:55 PM
    Owner
     
     Answered

    An update for dataflow is now available, which allows you to consume it in portable libraries.

    thanks

    -alok