Skip to content
AlienDwarf edited this page Aug 29, 2022 · 1 revision

Installation

You can either build this lib yourself or use the official NuGet package in your project.

Managed Installation

Visual Studio (recommended)

Use the build-in NuGet Package Manager GUI and search for "OpenMeteo.dotnet". The installation process will automatically build and install the library as dependency.

Package Manager

Install-Package OpenMeteo.dotnet

.NET CLI

dotnet add package OpenMeteo.dotnet

Cake

// Install OpenMeteo.dotnet as a Cake Addin
#addin nuget:?package=OpenMeteo.dotnet

// Install OpenMeteo.dotnet as a Cake Tool
#tool nuget:?package=OpenMeteo.dotnet

Manual Installtion

Clone the repository

git clone https://github.com/AlienDwarf/open-meteo-dotnet

Build the Library

Open the project in your IDE and build it. You can also use the Terminal command dotnet build. The build process will create a .dll file in /bin/[Debug/Release]/

Reference Library

You need to reference the .dll file in your own project as dependency.

Using Directive

Once referenced you can open your .cs file and add:

using OpenMeteo;