Legacy Dev Forum Posts

 View Only

Sign Up

.NetCore support for PureCloudApi

  • 1.  .NetCore support for PureCloudApi

    Posted 06-05-2025 18:04

    vrvoice1 | 2016-08-31 12:26:18 UTC | #1

    Hi,

    is there a way to use the SDK in an .NetCore 1.0 App?

    I get the following errors:

    Package PureCloudApiSdk 0.79.9.364 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package PureCloudApiSdk 0.79.9.364 supports: net (.NETFramework,Version=v0.0) Package PureCloudOAuthControl 1.2.0 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package PureCloudOAuthControl 1.2.0 supports: net (.NETFramework,Version=v0.0) Package RestSharp 105.2.3 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0).

    Regards,

    Sven


    tim.smith | 2016-08-31 14:16:48 UTC | #2

    You can build the SDK from source and change the .NET framework target. I can't guarantee that won't cause you a lot of refactoring though.


    vrvoice1 | 2016-09-01 11:53:54 UTC | #3

    Ok I will try it if the RestSharp Api is available for .NetCore (There is an open issue for that https://github.com/restsharp/RestSharp/issues/664).

    Is there a plan to support .NetCore from your side?


    tim.smith | 2016-09-01 13:30:26 UTC | #4

    There aren't currently any plans to support it, but I've logged API-1906 to track the request. If you end up getting it working and want to PR changes to the repo or let me know what needs to be done to support it, I can review it.


    vrvoice1 | 2017-08-18 11:55:46 UTC | #5

    Hi Tim, are there any news there? Because with the new AWS Lambda Functions you can do so cool things with .net core but in The moment I need to request all API urls by myself.

    Regards, Sven


    tim.smith | 2017-08-18 13:51:12 UTC | #6

    No, there wasn't enough interest in it and the issue was closed. It looks like the RestShart request for a .NET Core version is still outstanding as well.


    system | 2017-08-28 19:26:50 UTC | #7


    This post was migrated from the old Developer Forum.

    ref: 345