TransWikia.com

PnP with .NET Core

SharePoint Asked by Thomas Segato on February 23, 2021

I can see CSOM now supports .NET core. I just tried making a small sample Azure Function App but it fails with:

"Could not load type
‘System.Web.Configuration.WebConfigurationManager’ from assembly
‘System.Web, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a’."

Does PnP still not support .NET Core or am I missing something?

One Answer

It depends which build of PnP Core you are using. For modern .NET versions, you should use the .NET 5.0 build:

https://github.com/pnp/pnpcore#will-this-work-in-modern-net

Answered by Callum Crowley on February 23, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP