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
  • Thanks @Derek. Also facing issues with V1 as well but will post a separate question on that. Commented Feb 19, 2020 at 20:02
  • I've done a ton of PnP/Azure Functions. I'll keep an eye out for the question. Commented Feb 19, 2020 at 20:10
  • Thanks @Derek. I am stuck with Azure Function V1 as well. Posted separate question sharepoint.stackexchange.com/questions/276468/… Commented Feb 19, 2020 at 20:19

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.