4 Install Lightweight IOC Container
Simon Gockner edited this page 7 years ago

NuGet

The easiest and recommended way to install the Lightweight IOC Container is by using NuGet.
There are two possibilities that are described subsequently.

PackageManager

You can use the PackageManager in VisualStudio to install the Lightweight IOC Container in your library:

PM> Install-Package LightweightIocContainer -Version x.x.x

-Version is followed by the version of the Lightweight IOC Container you want to install.

.Net CLI

Another option is to use the .NET CLI to install the Lightweight IOC Container in your library:

> dotnet add package LightweightIocContainer --version x.x.x

--version is followed by the version of the Lightweight IOC Container you want to install.

Using source code

There is also the possibility to use the source code and add it as a new project to your VisualStudio solution.
To do so, you can clone this repository to your workspace. Then add it as a new project to your already existing solution.