This project is read-only.

OfficeDevPnP.Core for prvoder hosted model

Sep 15, 2014 at 2:51 PM
Edited Sep 15, 2014 at 2:54 PM

"Branding.UIElementPersonalization" sample references to OfficeDevPnP.Core DLL (in the code, it actually references to an old name OfficeAMS.Core).

When I look into OfficeDevPnP.Core, it seems that "SharePoint" tab is missing in "project properties", i.e. we cannot easily switch those DLL references from SharePoint online (16 hive) to SharePoint 2013 (15 hive) ones. If we leave it as SharePoint online version, "Branding.UIElementPersonalization" apparently complains referenced DLL version discrepancies when built in provider hosted model.

If I manually re-link those DLLs to 15 hive ones, some DLLs that are used in 16 hive do not appear in 15 hive, thus some codes are not functioning in OfficeDevPnP.Core.

Does this mean that if I want to have OfficeDevPnP.Core as SharePoint 2013 version instead of SharePoint online, I do need to re-link reference DLLs manually, and remove codes that are not functioning in provider hosted model?

Please help.

Sep 15, 2014 at 5:21 PM
Hi Xi,
Missing of SharePoint tab is due the fact that OfficeDevPnP.Core is just class library project and does not really have any SharePoint deployment specific settings. SharePoint tab only exists in SharePoint projects. This does indeed mean that there might be some challenges when you might need to change from 16 to 15, or using the core component in on-premises.

I'd though suggest to look into our Github project, where in the Dev banch we have the latest version of the package. There has been lot of changes on the structure and the code compared to this old package in Codeplex. We have moved over the development to the Github at

Here's also link directly to the Dev branch -
Sep 19, 2014 at 9:09 AM
Thank you Vesa. It is clear for me now :)