diff --git a/Home.md b/Home.md index 3e7c3d4..7405210 100644 --- a/Home.md +++ b/Home.md @@ -6,4 +6,5 @@ Welcome to the Lightweight IOC Container wiki! - [[NuGet|Install-Lightweight-IOC-Container#NuGet]] - [[PackageManager|Install-Lightweight-IOC-Container#PackageManager]] - [[.NET CLI|Install-Lightweight-IOC-Container#NET-CLI]] + - [[Using source code|Install-Lightweight-IOC-Container#Using-source-code]] - [[Usage|Usage-of-Lightweight-IOC-Container]] diff --git a/Install-Lightweight-IOC-Container.md b/Install-Lightweight-IOC-Container.md index b9e16a9..806c567 100644 --- a/Install-Lightweight-IOC-Container.md +++ b/Install-Lightweight-IOC-Container.md @@ -1,5 +1,29 @@ ## NuGet +The easiest and recommended way to install the Lightweight IOC Container is by using [NuGet](https://www.nuget.org/packages/LightweightIocContainer/). +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 +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: + +```.net +> 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.