Using a Local NuGet Repository in Visual Studio

Bloqs is distributed as NuGet packages. To use them in your projects, you have to set up a custom NuGet repository that points to a directory on your system containing the Bloqs .nupkg files.


Step 1 – Prepare the Local Repository

  1. Create a folder on your machine where you want to keep the Bloqs NuGet packages, for example:

C:\NuGetRepos\Bloqs
  1. Copy all .nupkg files into this folder.


Step 2 – Configure Visual Studio to Use the Repository

  1. Open Visual Studio.

  2. Go to Tools > Options.

  3. Navigate to NuGet Package Manager > Package Sources.

  4. Click the + button to add a new source.

  5. Set the Name to something like Bloqs.

  6. Set the Source to the folder you created earlier, e.g.:

C:\NuGetRepos\Bloqs
  1. Click Update and then OK.


Step 3 – Use the Packages

  1. Right-click your project in Solution Explorer and select Manage NuGet Packages.

  2. Switch to the Bloqs source from the dropdown at the top right.

  3. Install the required Bloqs packages into your project.


That’s it. You now have a local NuGet repository for Bloqs packages and can update it by dropping new .nupkg files into the folder.

Last updated