anon32289585 | 2019-02-15 09:51:47 UTC | #1
I'm getting below framework error when I'm trying to install the PureCloudPlatform.Client.V2 52.0.0 package. Tried to install with multiple .net framework versions. What versions of .net does the SDK support.
Error: Could not install package 'PureCloudPlatform.Client.V2 52.0.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.7.1', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
tim.smith | 2019-02-15 14:51:00 UTC | #2
Your app's version of .NET is probably too old. What framework are you targeting? The SDK targets .NET Standard 2.0.
anon32289585 | 2019-02-15 15:21:19 UTC | #3
App's .net framework version is 4.7.1. With .NET standard 2.0 its working. But I need to install in framework 4.7.1, Which SDK version will work with that?
tim.smith | 2019-02-15 15:34:08 UTC | #4
.NET Standard 2.0 supports .NET Framework 4.6.1 and later from what I can tell. If you're using a 4.7.1 project, you should be able to consume a Standard 2.0 DLL. If you have suggestions on how to improve the nuget package spec, let me know.
You can access the source and library here: https://github.com/MyPureCloud/platform-client-sdk-dotnet
anon32289585 | 2019-02-15 16:12:40 UTC | #5
I have cleared NuGet cache and it's got installed in framework version 4.7.1.
system | 2019-03-18 16:12:40 UTC | #6
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 4589