Skip to content

2. Getting Started

Esteve Autet Alexe edited this page Apr 22, 2024 · 1 revision

MemwLib is available mainly on NuGet, but you can also compile your own version and use that one if you trust that more!

This library is completely standalone, except that it comes with the JetBrains annotations for the fellow ReSharper users.

NuGet instructions

If you use an IDE like Rider or Visual Studio, the library should be available for download in the integrated package manager.

Image

Otherwise, if you don't, you can get it with the .NET integrated package manager.

dotnet add package MemwLib

After that, you should be able to reference MemwLib in any part of your project.

Compiling the package

If you wish to compile the package by yourself, you first need to clone this repository.

git clone https://github.com/stifskere/MemwLib MemwLib

cd MemwLib

Once that's done, you may build your project using the .NET built in command.

dotnet build MemwLib.sln -c Release

After building, you should find the output in ./bin/AnyCPU_Release/MemwLib/{your .net version}/.

Then you can reference that in any project using the .csproj file in your project.

<ItemGroup>
    <Reference Include="MemwLib">
      <HintPath>Your/Path/To/MemwLib</HintPath>
    </Reference>
</ItemGroup>

Remember to replace the path, otherwise you will have an error in your project.