This guide explains how to install the library using three common methods:
- NuGet CLI (
nuget.exe) - Visual Studio Package Manager Console
- .NET CLI
1. Installing with NuGet CLI (nuget.exe)
Prerequisites with NuGet CLI
- Download and install
nuget.exefrom the NuGet official website. - Ensure
nuget.exeis accessible via your system’s PATH.
Steps with NuGet CLI
- Open a command prompt or terminal.
-
Run the following command:
nuget install PocketCsvReader -Version <VersionNumber>Replace
<VersionNumber>with the desired version. If no version is specified, the latest version will be installed.
2. Installing with Visual Studio Package Manager Console
Prerequisites with Visual Studio Package Manager Console
- Visual Studio must be installed.
- Your project should be loaded in Visual Studio.
Steps with Visual Studio Package Manager Console
- Open the Package Manager Console from Tools > NuGet Package Manager > Package Manager Console.
-
Run the following command:
Install-Package PocketCsvReader -Version <VersionNumber>Replace
<VersionNumber>with the desired version. If no version is specified, the latest version will be installed.
3. Installing with .NET CLI
Prerequisites with .NET CLI
- .NET SDK must be installed. You can download it from the official .NET website.
- Ensure the
dotnetcommand is accessible from your terminal.
Steps with .NET CLI
- Open a terminal or command prompt.
- Navigate to the directory of your project.
-
Run the following command:
dotnet add package <PackageName> --version <VersionNumber>Replace
<VersionNumber>with the desired version. If no version is specified, the latest version will be installed.