CommonServiceLocator 2.0.7

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
.NET 5.0 .NET Core 1.0 .NET Standard 1.0 .NET Framework 4.6
dotnet add package CommonServiceLocator --version 2.0.7
NuGet\Install-Package CommonServiceLocator -Version 2.0.7
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CommonServiceLocator" Version="2.0.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CommonServiceLocator --version 2.0.7
#r "nuget: CommonServiceLocator, 2.0.7"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CommonServiceLocator as a Cake Addin
#addin nuget:?package=CommonServiceLocator&version=2.0.7

// Install CommonServiceLocator as a Cake Tool
#tool nuget:?package=CommonServiceLocator&version=2.0.7

The library provides an abstraction over IoC containers and service locators. Using the library allows an application to indirectly access the capabilities without relying on hard references.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.0 netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Windows Phone wp8 wp81 wpa81
Windows Store netcore netcore45 netcore451
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 1.0

  • .NETCoreApp 2.0

    • No dependencies.
  • .NETCoreApp 3.0

    • No dependencies.
  • .NETFramework 4.6

    • No dependencies.
  • .NETFramework 4.7

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • .NETStandard 1.0

  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.

NuGet packages (476)

Showing the top 5 NuGet packages that depend on CommonServiceLocator:

Package Downloads

The MVVM Light Toolkit is a set of components helping people to get started in the Model-View-ViewModel pattern in Silverlight, WPF, Windows Phone, Windows 10 UWP, Xamarin.Android, Xamarin.iOS, Xamarin.Forms. It is a light and pragmatic framework that allows you to pick which components you want to use. This version contains only the libraries and doesn't add any scaffolding to your application!

Autofac.Extras.CommonServiceLocator The ID prefix of this package has been reserved for one of the owners of this package by

Autofac extension for using the Microsoft Enterprise Library Common Service Locator with Autofac.


An XActLib Assembly: code common to the whole library using only Portable Class Library references.


SolrNet is a .NET Open Source client for Apache Solr. This version of SolrNet is compatible with Solr 1.x to Solr 7.x. This package comes with a build in easy to use Dependency Injection for SolrNet.Core.

Uno.Core The ID prefix of this package has been reserved for one of the owners of this package by

This package provides a set of helpers and extension methods used to accelerate development.

GitHub repositories (145)

Showing the top 5 popular GitHub repositories that depend on CommonServiceLocator:

Repository Stars
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
Video game library manager with support for wide range of 3rd party libraries and game emulation support, providing one unified interface for your games.
OptiKey - Full computer control and speech with your eyes
An open-source, free protector for .NET applications
Version Downloads Last updated
2.0.7 20,432 2/22/2023
2.0.6 2,588,957 1/29/2021
2.0.5 5,326,110 11/7/2019
2.0.4 6,590,121 8/12/2018
2.0.3 2,641,793 3/2/2018
2.0.2 3,716,016 1/3/2018
2.0.1 1,878,180 10/10/2017
1.4.0 585,570 9/20/2017
1.3.0 30,376,150 5/6/2014
1.2.0 2,380,066 2/5/2014
1.0.0 14,235,341 1/7/2011

This release contains targets for .NET 4.7, and 4.8, 5.0, 6.0, 7.0 .NET Core 1.0, 2.0 and 3.0, .NET Standard 1.0, .NET Standard 2.0 and .NET Standard 2.1