{"id":2366,"date":"2019-01-04T15:26:33","date_gmt":"2019-01-04T23:26:33","guid":{"rendered":"https:\/\/developer.microsoft.com\/en-us\/office\/blogs\/?p=2366"},"modified":"2021-10-18T11:16:09","modified_gmt":"2021-10-18T18:16:09","slug":"updated-versions-of-the-sharepoint-on-premises-csom-nuget-packages","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/updated-versions-of-the-sharepoint-on-premises-csom-nuget-packages\/","title":{"rendered":"Updated versions of the SharePoint on-premises CSOM NuGet packages"},"content":{"rendered":"<p>We are happy to announce updates on the SharePoint on-premises Client Side Object Model (CSOM) NuGet packages specifically for the SharePoint 2013 and SharePoint 2016. These NuGet\u00a0packages were initially released back in 2016 and they provide you easy access to the official CSOM API assemblies just by referencing the assemblies from NuGet gallery. Both CSOM NuGet packages have been now updated to have assemblies matching May 2018 CU releases.<\/p>\n<ul>\n<li>SharePoint 2013 CSOM NuGet package \u2013\u00a0<a href=\"https:\/\/www.nuget.org\/packages\/Microsoft.SharePoint2013.CSOM\/\">Microsoft.SharePoint2013.CSOM<\/a><\/li>\n<li class=\"\">SharePoint 2016 CSOM NuGet package \u2013 \u00a0<a href=\"https:\/\/www.nuget.org\/packages\/Microsoft.SharePoint2016.CSOM\/\">Microsoft.SharePoint2016.CSOM<\/a><\/li>\n<\/ul>\n<p>It&#8217;s important to realize that as the CSOM assemblies will have a dependency on the server side version, you can only use these versions reliably with a server version starting from May 2018 CU. Why did we select May 2018 CU as the baseline?\u00a0 That was chosen as the SharePoint 2016 CSOM had an important fix related on the <em>ZoneId<\/em> property in\u00a0<em>WebPartDefinition\u00a0<\/em>class.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-2371 size-full\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2019\/01\/sp2013-sp2016-nuget.png\" alt=\"\" width=\"799\" height=\"576\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2019\/01\/sp2013-sp2016-nuget.png 799w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2019\/01\/sp2013-sp2016-nuget-300x216.png 300w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2019\/01\/sp2013-sp2016-nuget-768x554.png 768w\" sizes=\"(max-width: 799px) 100vw, 799px\" \/><\/p>\n<h2>Changes in the SharePoint 2013 CSOM NuGet package<\/h2>\n<p>Changes in the SharePoint 2013 CSOM NuGet package between the April 2015 CU and May 2018 CU are following:<\/p>\n<p><strong>Microsoft.SharePoint.Client<\/strong><\/p>\n<ul>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.List.GetListItemChangesSinceToken<\/li>\n<li>public <strong>class<\/strong> Microsoft.SharePoint.Client.TenantSettings<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.TenantSettings.CorporateCatalogUrl<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.Web.RequestAccessEmail<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.Web.ThemedCssFolderUrl<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.WebParts.WebPartDefinition.ZoneId<\/li>\n<\/ul>\n<p><strong>Microsoft.SharePoint.Client.Taxonomy.dll<\/strong><\/p>\n<ul>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.Taxonomy.TermGroup.AddContributor<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.Taxonomy.TermGroup.AddGroupManager<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.Taxonomy.TermGroup.ContributorPrincipalNames<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.Taxonomy.TermSet.GetAllTermsIncludeDeprecated<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.Taxonomy.TermSet.Names<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.Taxonomy.TermStore.GetPackage<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.Taxonomy.TermStore.GetPackagesUpdateInformation<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.Taxonomy.TermStore.UploadPackages<\/li>\n<\/ul>\n<h2>Changes in the SharePoint 2016 CSOM NuGet package<\/h2>\n<p>Changes in the SharePoint 2016 CSOM NuGet package between the RTM version and May 2018 CU are following:<\/p>\n<p><strong>Microsoft.SharePoint.Client<\/strong><\/p>\n<ul>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.ObjectSharingInformation.IsFolder<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.ObjectSharingInformation.TotalFileCount<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.RecycleBinItem.AuthorEmail<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.RecycleBinItem.AuthorName<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.RecycleBinItem.DeletedByEmail<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.RecycleBinItem.DeletedByName<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.RecycleBinItem.DeletedDateLocalFormatted<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.RecycleBinItem.MoveToSecondStage<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.RecycleBinItemCollection.DeleteAllSecondStageItems<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.RecycleBinItemCollection.MoveAllToSecondStage<\/li>\n<li>public <strong>enum<\/strong> Microsoft.SharePoint.Client.RecycleBinOrderBy<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.Site.DisableCompanyWideSharingLinks<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.Site.GetRecycleBinItems<\/li>\n<li>public <strong>enum<\/strong> Microsoft.SharePoint.Client.SpecialFolderType<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.Web.GetRecycleBinItems<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.Sharing.DocumentSharingManager.RemoveItemsFromSharedWithMeView<\/li>\n<li>public <strong>enum<\/strong> Microsoft.SharePoint.Client.Sharing.RemoveItemsFromSharedWithMeViewErrorCode<\/li>\n<li>public <strong>class<\/strong> Microsoft.SharePoint.Client.Sharing.SharedWithMeViewItemRemovalResult<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.WebParts.WebPartDefinition.ZoneId<\/li>\n<\/ul>\n<p><strong>Microsoft.SharePoint.Client.RecordsRepository.Records<\/strong><\/p>\n<ul>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.RecordsRepository.Records.DeclareItemAsRecord<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.RecordsRepository.Records.IsRecord<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.RecordsRepository.Records.UndeclareItemAsRecord<\/li>\n<\/ul>\n<p><strong>Microsoft.SharePoint.Client.Taxonomy<\/strong><\/p>\n<ul>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.Taxonomy.TermGroup.AddContributor<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.Taxonomy.TermGroup.AddGroupManager<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.Taxonomy.TermGroup.ContributorPrincipalNames<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.Taxonomy.TermGroup.GroupManagerPrincipalNames<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.Taxonomy.TermSet.GetAllTermsIncludeDeprecated<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.Taxonomy.TermSet.Names<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.Taxonomy.TermStore.GetPackage<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.Taxonomy.TermStore.GetPackagesUpdateInformation<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.Taxonomy.TermStore.UploadPackages<\/li>\n<\/ul>\n<p><span style=\"font-size: large\"><em>\u201cSharing is caring\u201d<\/em><\/span><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<p><i>SharePoint Team, Microsoft &#8211; 4th of January 2018<\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are happy to announce updates on the CSOM API NuGet packages for SharePoint 2013 and SharePoint 2016.<\/p>\n","protected":false},"author":69078,"featured_media":2372,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2366","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-365-developer"],"acf":[],"blog_post_summary":"<p>We are happy to announce updates on the CSOM API NuGet packages for SharePoint 2013 and SharePoint 2016.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/2366","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/69078"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=2366"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/2366\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/2372"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=2366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=2366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=2366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}