User Tools

Site Tools


Sidebar

Nebol Software Projects:

.NET Class Libraries

Contact info:

johan@nebol.se

net_class_libraries

My .NET Class Libraries

Nebol Package Repository

To use this repository from Visual Studio, add a new Package Source using this URL:

https://nuget.nebol.se/api/odata

Alternatively, you can add the package source from the command line as follows:

C:\> nuget sources add -name nuget.nebol.se -source https://nuget.nebol.se/api/odata

Documentation exists for:

Work in progress documentation:

There is NO documentation YET for:

Note regarding Docker

Note that in order to use these packages when building a docker image you need to tell docker where to find them. Add a nuget.config file to your main folder:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
    <add key="nuget.nebol.se" value="https://nuget.nebol.se/api/odata" />
  </packageSources>
</configuration>

Then in the Dockerfile, when you're copying the projectfile to ./ and just before you do “dotnet restore”, add this line:

COPY nuget.config ./

docker will then use it to find the packages.

net_class_libraries.txt · Last modified: 2022/11/01 19:09 by nebol