0

I am creating my first Azure Function(with .net core 3.0) with SharePointPnPCoreOnline package. When I created a function project without SharePointPnPCoreOnline its working without any error.

But when I added SharePointPnPCoreOnline its started giving me warning message like below

Warning NU1701 Package 'SharePointPnPCoreOnline 3.18.2002' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.0'. This package may not be fully compatible with your project. CRB.Functions C:\Ravi\Source\Functions\Functions.csproj 1

enter image description here

enter image description here

1 Answer 1

1

SharePointPnPCoreOnline is a wrapper around CSOM, which is not compatible with .NET Core without a bit of hacking.

You need to use full .NET Framework, and V1 of the Functions runtime, in order to use that Nuget package with Azure Functions.

3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.