Sitecore NuGet dependencies in Sitecore 10.1

Created: 28 Apr 2021, last update: 30 Jan 2022

Sitecore NuGet dependencies in Sitecore 10.1

While I was doing a Sitecore upgrade, I noticed that updating NuGet references were quite a job, not just the Sitecore references, but with the names the system.xxx references. Many different versions of the same NuGet reference were already present in the project, which is not really handy because in the end you only deploy 1 version and therefore you would prefer use the same NuGet in all your helix projects.

For the Sitecore references see: https://www.sitecore.com/knowledge-center/blog/359/sitecore-9-1-nuget-changes-and-you-4593

For old Third party libraries, http://blog.baslijten.com/third-party-libraries-used-by-sitecore/
Note: today 3rd party references no longer require an exact version match in the Sitecore package dependencies. But as a starting point it is useful to use exactly the same version.

You can download a complete list of assemblies shipped with the Sitecore 10.1 release. https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/101/Sitecore_Experience_Platform_101.aspx
But this is hard to use because fore some dll’s it is not clear with NuGet you need to Use especially the System.xxx dll’s the have a really weird versioning, and lot of NuGet packages have reference to other. So if you update one, it might by that also others are updated.

To help you with choosing the right package version, I have extended the assemblies list with the NuGet package. Especially the systems dlls there can be multiplied nuget to the same version, but as starting point this should work.

Download: http://www.stockpick.nl/1/NuGet Sitecore.Platform.Assemblies 10.1.0 rev. 005207.csv

The list with only the Filename and Nuget so it fits it on the page:

Filename NUGet version
Antlr3.Runtime.dll Antlr.3.4.1.9004
ChilkatDotNet47.dll chilkat-x64.9.5.0.73
CommonServiceLocator.dll CommonServiceLocator.2.0.3
CommonServiceLocator.SolrNet.dll SolrNet.1.0.19
ComponentArt.Web.UI.dll  
DocumentFormat.OpenXml.dll DocumentFormat.OpenXml.2.7.2
EcmaScript.NET.dll EcmaScript.Net.1.0.1.0
FiftyOne.Foundation.dll 51Degrees.mobi-core.3.2.17.2
HtmlAgilityPack.dll HtmlAgilityPack.1.4.9.5
ICSharpCode.SharpZipLib.dll SharpZipLib.1.3.0
IdentityModel.dll IdentityModel.3.7.0
MarkdownSharp.dll  
Microsoft.AspNet.Identity.Core.dll Microsoft.AspNet.Identity.Core.2.2.1
Microsoft.AspNet.Identity.Owin.dll Microsoft.AspNet.Identity.Owin.2.2.1
Microsoft.AspNet.OData.dll Microsoft.AspNet.OData.7.0.0
Microsoft.AspNet.SessionState.SessionStateModule.dll Microsoft.AspNet.SessionState.SessionStateModule.1.1.0
Microsoft.AspNet.WebApi.Extensions.Compression.Server.dll Microsoft.AspNet.WebApi.Extensions.Compression.Server.2.0.3
Microsoft.AspNetCore.Hosting.Abstractions.dll Microsoft.AspNetCore.Hosting.Abstractions.2.1.1
Microsoft.AspNetCore.Hosting.Server.Abstractions.dll Microsoft.AspNetCore.Hosting.Server.Abstractions.2.1.1
Microsoft.AspNetCore.Http.Abstractions.dll Microsoft.AspNetCore.Http.Abstractions.2.1.1
Microsoft.AspNetCore.Http.Features.dll Microsoft.AspNetCore.Http.Features.2.1.1
Microsoft.Azure.Amqp.dll Microsoft.Azure.Amqp.2.4.2
Microsoft.Azure.ServiceBus.dll Microsoft.Azure.ServiceBus.4.1.2
Microsoft.Azure.Services.AppAuthentication.dll Microsoft.Azure.Services.AppAuthentication.1.0.3
Microsoft.Bcl.AsyncInterfaces.dll Microsoft.Bcl.AsyncInterfaces.1.1.1
Microsoft.Configuration.ConfigurationBuilders.Base.dll Microsoft.Configuration.ConfigurationBuilders.Base.1.0.2
Microsoft.Configuration.ConfigurationBuilders.Environment.dll Microsoft.Configuration.ConfigurationBuilders.Environment.1.0.2
Microsoft.Extensions.Caching.Abstractions.dll Microsoft.Extensions.Caching.Abstractions.3.1.5
Microsoft.Extensions.Caching.Memory.dll Microsoft.Extensions.Caching.Memory.3.1.5
Microsoft.Extensions.Configuration.Abstractions.dll Microsoft.Extensions.Configuration.Abstractions.3.1.5
Microsoft.Extensions.Configuration.Binder.dll Microsoft.Extensions.Configuration.Binder.3.1.5
Microsoft.Extensions.Configuration.CommandLine.dll Microsoft.Extensions.Configuration.CommandLine.3.1.5
Microsoft.Extensions.Configuration.dll Microsoft.Extensions.Configuration.3.1.5
Microsoft.Extensions.Configuration.EnvironmentVariables.dll Microsoft.Extensions.Configuration.EnvironmentVariables.3.1.5
Microsoft.Extensions.Configuration.FileExtensions.dll Microsoft.Extensions.Configuration.FileExtensions.3.1.5
Microsoft.Extensions.Configuration.Ini.dll Microsoft.Extensions.Configuration.Ini.3.1.5
Microsoft.Extensions.Configuration.Json.dll Microsoft.Extensions.Configuration.Json.3.1.5
Microsoft.Extensions.Configuration.Xml.dll Microsoft.Extensions.Configuration.Xml.2.2.0
Microsoft.Extensions.DependencyInjection.Abstractions.dll Microsoft.Extensions.DependencyInjection.Abstractions.3.1.5
Microsoft.Extensions.DependencyInjection.dll Microsoft.Extensions.DependencyInjection.3.1.5
Microsoft.Extensions.DependencyModel.dll Microsoft.Extensions.DependencyModel.3.1.5
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.dll Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.3.1.5
Microsoft.Extensions.FileProviders.Abstractions.dll Microsoft.Extensions.FileProviders.Abstractions.3.1.5
Microsoft.Extensions.FileProviders.Physical.dll Microsoft.Extensions.FileProviders.Physical.3.1.5
Microsoft.Extensions.FileSystemGlobbing.dll Microsoft.Extensions.FileSystemGlobbing.3.1.5
Microsoft.Extensions.Hosting.Abstractions.dll Microsoft.Extensions.Hosting.Abstractions.2.1.1
Microsoft.Extensions.Logging.Abstractions.dll Microsoft.Extensions.Logging.Abstractions.3.1.5
Microsoft.Extensions.Logging.dll Microsoft.Extensions.Logging.3.1.5
Microsoft.Extensions.Options.dll Microsoft.Extensions.Options.3.1.5
Microsoft.Extensions.Primitives.dll Microsoft.Extensions.Primitives.3.1.5
Microsoft.IdentityModel.Clients.ActiveDirectory.dll Microsoft.IdentityModel.Clients.ActiveDirectory.3.19.3
Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll Microsoft.IdentityModel.Clients.ActiveDirectory.3.19.3
Microsoft.IdentityModel.JsonWebTokens.dll Microsoft.IdentityModel.JsonWebTokens.5.4.0
Microsoft.IdentityModel.Logging.dll Microsoft.IdentityModel.Logging.5.4.0
Microsoft.IdentityModel.Protocols.dll Microsoft.IdentityModel.Protocols.5.3.0
Microsoft.IdentityModel.Protocols.OpenIdConnect.dll Microsoft.IdentityModel.Protocols.OpenIdConnect.5.3.0
Microsoft.IdentityModel.Protocols.WsFederation.dll Microsoft.IdentityModel.Protocols.WsFederation.5.3.0
Microsoft.IdentityModel.Tokens.dll Microsoft.IdentityModel.Tokens.5.4.0
Microsoft.IdentityModel.Tokens.Saml.dll Microsoft.IdentityModel.Tokens.Saml.5.3.0
Microsoft.IdentityModel.Xml.dll Microsoft.IdentityModel.Xml.5.3.0
Microsoft.OData.Core.dll Microsoft.OData.Core.7.5.0
Microsoft.OData.Edm.dll Microsoft.OData.Edm.7.5.0
Microsoft.Owin.dll Microsoft.Owin.4.1.0
Microsoft.Owin.Host.SystemWeb.dll Microsoft.Owin.Host.SystemWeb.4.1.0
Microsoft.Owin.Security.ActiveDirectory.dll Microsoft.Owin.Security.ActiveDirectory.4.1.0
Microsoft.Owin.Security.Cookies.dll Microsoft.Owin.Security.Cookies.4.1.0
Microsoft.Owin.Security.dll Microsoft.Owin.Security.4.1.0
Microsoft.Owin.Security.Jwt.dll Microsoft.Owin.Security.Jwt.4.1.0
Microsoft.Owin.Security.OAuth.dll Microsoft.Owin.Security.OAuth.4.1.0
Microsoft.Owin.Security.OpenIdConnect.dll Microsoft.Owin.Security.OpenIdConnect.4.1.0
Microsoft.Practices.EnterpriseLibrary.Common.dll EnterpriseLibrary.Common.6.0.1304.0
Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Caching.dll EnterpriseLibrary.TransientFaultHandling.Caching.6.0.1304.0
Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Configuration.dll EnterpriseLibrary.TransientFaultHandling.Configuration.6.0.1304.0
Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data.dll EnterpriseLibrary.TransientFaultHandling.Data.6.0.1304.1
Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.dll EnterpriseLibrary.TransientFaultHandling.6.0.1304.0
Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.ServiceBus.dll EnterpriseLibrary.TransientFaultHandling.ServiceBus.6.0.1304.0
Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.WindowsAzure.Storage.dll EnterpriseLibrary.TransientFaultHandling.WindowsAzure.Storage.6.0.1304.0
Microsoft.Spatial.dll Microsoft.Spatial.7.5.0
Microsoft.Web.Infrastructure.dll Microsoft.Web.Infrastructure.1.0.0.0
Mvp.Xml.dll Mvp.Xml.2.3.0
Newtonsoft.Json.dll Newtonsoft.Json.11.0.2
Owin.dll Owin.1.0
PdfSharp.Charting.dll pdfsharp.1.50.4740-beta5
PdfSharp.dll pdfsharp.1.50.4740-beta5
Pipelines.Sockets.Unofficial.dll Pipelines.Sockets.Unofficial.2.1.16
Polly.dll Polly.6.0.1
protobuf-net.dll protobuf-net.2.0.0.668
RazorGenerator.Mvc.dll RazorGenerator.Mvc.2.4.9
Rebus.AzureServiceBus.dll  
Rebus.dll Rebus.6.2.1
Rebus.SqlServer.dll  
Remotion.Linq.dll Remotion.Linq.2.2.0
SolrNet.dll SolrNet.Core.1.0.19
StackExchange.Redis.dll  
System.Buffers.dll System.Buffers.4.5.1
System.ComponentModel.Annotations.dll System.ComponentModel.Annotations.4.7.0
System.Configuration.ConfigurationManager.dll System.Configuration.ConfigurationManager.4.5.0
System.Data.SqlClient.dll System.Data.SqlClient.4.8.1
System.Diagnostics.DiagnosticSource.dll System.Diagnostics.DiagnosticSource.4.6.0
System.Diagnostics.PerformanceCounter.dll System.Diagnostics.PerformanceCounter.4.7.0
System.IdentityModel.Tokens.Jwt.dll System.IdentityModel.Tokens.Jwt.5.4.0
System.Interactive.Async.dll System.Interactive.Async.4.0.0
System.Interactive.Async.Providers.dll System.Interactive.Async.Providers.4.0.0
System.IO.dll System.IO.4.1.0
System.IO.FileSystem.Primitives.dll System.IO.FileSystem.Primitives.4.0.1
System.IO.Packaging.dll System.IO.Packaging.4.0.0
System.IO.Pipelines.dll System.IO.Pipelines.4.7.1
System.Linq.Async.dll System.Linq.Async.4.0.0
System.Linq.Async.Queryable.dll System.Linq.Async.Queryable.4.0.0
System.Memory.dll System.Memory.4.5.4
System.Net.Http.Extensions.Compression.Core.dll Microsoft.AspNet.WebApi.Extensions.Compression.Server.2.0.3
System.Net.Http.Formatting.dll Microsoft.AspNet.WebApi.Client.5.2.6
System.Net.WebSockets.Client.dll System.Net.WebSockets.Client.4.0.2
System.Net.WebSockets.dll System.Net.WebSockets.4.0.0
System.Numerics.Vectors.dll System.Numerics.Vectors.4.5.0
System.Runtime.CompilerServices.Unsafe.dll System.Runtime.CompilerServices.Unsafe.4.7.1
System.Runtime.dll System.Runtime.4.1.0
System.Runtime.InteropServices.RuntimeInformation.dll System.Runtime.InteropServices.RuntimeInformation.4.0.0
System.Runtime.Serialization.Primitives.dll System.Runtime.Serialization.Primitives.4.1.1
System.Security.AccessControl.dll System.Security.AccessControl.4.5.0
System.Security.Cryptography.Algorithms.dll System.Security.Cryptography.Algorithms.4.2.0
System.Security.Cryptography.Encoding.dll System.Security.Cryptography.Encoding.4.0.0
System.Security.Cryptography.Primitives.dll System.Security.Cryptography.Primitives.4.0.0
System.Security.Cryptography.X509Certificates.dll System.Security.Cryptography.X509Certificates.4.1.0
System.Security.Cryptography.Xml.dll System.Security.Cryptography.Xml.4.5.0
System.Security.Permissions.dll System.Security.Permissions.4.5.0
System.Security.Principal.Windows.dll System.Security.Principal.Windows.4.5.0
System.Text.Encodings.Web.dll System.Text.Encodings.Web.4.7.1
System.Text.Json.dll System.Text.Json.4.7.2
System.Threading.Channels.dll System.Threading.Channels.4.7.1
System.Threading.Tasks.Extensions.dll System.Threading.Tasks.Extensions.4.5.4
System.ValueTuple.dll System.ValueTuple.4.5.0
System.Web.Cors.dll Microsoft.AspNet.Cors.5.2.6
System.Web.Helpers.dll Microsoft.AspNet.WebPages.3.2.4
System.Web.Http.Cors.dll Microsoft.AspNet.WebApi.Cors.5.2.6
System.Web.Http.dll Microsoft.AspNet.WebApi.Core.5.2.6
System.Web.Http.WebHost.dll Microsoft.AspNet.WebApi.WebHost.5.2.6
System.Web.Mvc.dll Microsoft.AspNet.Mvc.5.2.4
System.Web.Optimization.dll Microsoft.AspNet.Web.Optimization.1.1.3
System.Web.Razor.dll Microsoft.AspNet.Razor.3.2.4
System.Web.WebPages.Deployment.dll Microsoft.AspNet.WebPages.3.2.4
System.Web.WebPages.dll Microsoft.AspNet.WebPages.3.2.4
System.Web.WebPages.Razor.dll Microsoft.AspNet.WebPages.3.2.4
Telerik.Web.Design.dll  
Telerik.Web.Device.Detection.dll  
Telerik.Web.UI.dll  
Telerik.Web.UI.Skins.dll  
WebActivatorEx.dll WebActivatorEx.2.0.3
WebGrease.dll WebGrease.1.5.2
Yahoo.Yui.Compressor.dll YUICompressor.NET.2.7.0.0

Note, If you really want you can use multiple versions of a dll
In the web.config in the assemblyBinding you can do somethings like this:

<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
<bindingRedirect oldVersion="10.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
<codeBase version="9.0.0.0" href="bin\Newtonsoft.Json.dll" />
<codeBase version="11.0.0.0" href="bin\Newtonsoft11\Newtonsoft.Json.dll" />
</dependentAssembly>