Jul 31 2018 10:49 PM
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:
Thanks !
Br,
Prasham Sabadra
https://knowledge-junction.com/category/technology-articles/office-365/
Apr 25 2019 03:22 AM
I got the similar issue. This is not the case, in latest release Microsoft depreciated that feature.
Once we update the NuGet package for particular project, We must ensure that all dependent /refereed project/DLL in your solution updated to latest package.
Issue comes when we update the NuGet package for current project but not for the referred DLL.