Home

CommunicationSiteCollectionCreationInformation class in OfficeDevPnP.Core.Sites

Highlighted
Prasham Sabadra
Occasional Contributor

Hi All,

 

I have console application. I am referencing the library "OfficeDevPnP.Core". I updated the latest package using NuGet manager.

 

Latest assembly version is 2.28.1807.

 

As soon as I updated latest package I am getting following error -

 

"Error    CS0012    The type 'CommunicationSiteCollectionCreationInformation' is defined in an assembly that is not referenced. You must add a reference to assembly 'OfficeDevPnP.Core, Version=2.20.1711.0, Culture=neutral, PublicKeyToken=3751622786b357c2'."

 

So here I am not getting the 'CommunicationSiteCollectionCreationInformation' class. I updated the previous version '2.20.1711.0' its start working.

 

Question is - Is this class deprecated? what is there in latest version for the same?

 

Following are some snaps:

latest version of SharePointPnPCoreOnline.png

 

Thanks !

Br,

Prasham Sabadra

https://knowledge-junction.com/category/technology-articles/office-365/