Skip to main content

Sitecore Assembly List NuGet Packages


This topic describes the version-specific packages in the sc-packages NuGet feed.

The sc-packages NuGet feed includes version-specific packages that you can use to easily validate or exclude Sitecore-provided assemblies when you build solutions. TDS supports using these packages to validate references against the version of Sitecore you target. You can also use custom MSBuild logic to exclude Sitecore-provided assemblies from publishing, In both cases, this prevents you from accidentally overwriting these assemblies and breaking your Sitecore instance. When you use these packages to exclude built-in assemblies from deployment, you also reduce the size of your deployment artifacts, which potentially speeds up local builds.


The Sitecore NuGet packages are intended for use at build-time only. NuGet packages are not meant for use in a runtime environment. Ensure that your runtime environment only contains the assemblies that are required for your solution.

Available packages

Assembly packages are currently available for the roles and deployment targets mentioned in the following table:






All roles based on the the main Sitecore platform (CM, CD, Reporting, and so on).



The primary XConnect (Collection) role.



The XConnect search indexer role.



The XConnect Marketing Automation Engine processing role.



The Sitecore Cortex™ data processing role.



The Sitecore Headless Services.

Use this NuGet command to retrieve a list of all Sitecore.Assemblies.* packages available:

nuget list Sitecore.Assemblies -Source -AllVersions

Package contents

All assembly list packages contain an MSBuild targets file that is automatically imported into a Visual Studio project when it is referenced. This targets file contains an ItemGroup called SitecoreAssemblies with the filename and metadata of every assembly shipped by Sitecore for the associated role:

<SitecoreAssemblies Include="Sitecore.Kernel.dll">


If you use Sitecore TDS, follow the instructions in the TDS documentation to reference the assemblies package in the appropriate TDS project. Fort other third-party Sitecore build tools, read the documentation for that tool.

If you use an out-of-the-box MSBuild Publish configuration, place this in a .wpp.targets file in the project to exclude files from deployment:

<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="">
   <!-- Delay evaluating this item group to ensure nuget package has been evaluated. -->
  <Target Name="ExcludeSitecoreAssemblies" AfterTargets="Compile">
      <ExcludeFromPackageFiles Include="@(SitecoreAssemblies -> 'bin\%(Filename)%(Extension)')" />
      <ExcludeFromPackageFiles Include="@(SitecoreAssemblies -> 'bin\%(Filename).pdb')" />
      <ExcludeFromPackageFiles Include="@(SitecoreAssemblies -> 'bin\%(Filename).xml')" />

If you need to override a value from the assembly list, add an Exclude attribute to the ExcludeFromPackageFiles elements.