Nuget Package install issues

I'm getting this framework error when I try to install the package. What versions of .net does the SDK support. Looks like its compiled in v4.6. I also get the same error targeting 4.5.1 or 4.5.2.

Severity Code Description Project File Line Suppression State
Error Could not install package 'PureCloudPlatform.Client.V2 46.0.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.6', 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. 0

did you try other sdk versions? might be a bad package. @tim.smith handles the sdk, but is out this week

What version of Visual Studio are you using? I noticed in Visual Studio for Mac that if I target .NET Framework 4.7, then the project builds fine, but if I downgrade to .NET Framework 4.6 then I get the error you are reporting.

If you have to target an earlier version of .NET then you may have to download the source of the library and build it for the version of .NET Framework that you require. The source of the project is here: https://github.com/MyPureCloud/platform-client-sdk-dotnet

Visual Studio 2015, .Net Framework 4.6. I could move up to 4.7 if that works.

As of v46.0.0, the format of the package was changed to indicate support for .NET Standard 2.0. Can you try upgrading your project to .NET Framework 4.6.1 or later?

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.