Using MeshLib with C#

This instruction will guide you through integrating MeshLib into your C# project using NuGet or .NET Command-Line Interface.

Important Note: MeshLib currently supports x64 builds only, so ensure your project configuration aligns to avoid compatibility issues. While .NET and NuGet offer support for macOS and Linux, the MeshLib package lacks native libraries for these platforms. As of now, MeshLib operates exclusively on Windows when used with C#.

Prerequisites

Before installing MeshLib, ensure you have the following tools installed:

.NET SDK:

Visual Studio

For a more integrated development experience, you can use Visual Studio 2019 or later. Make sure to install the .NET desktop development workload.

Installation via NuGet

Depending on your development environment and workflow preferences, you can choose from the following installation methods

Using Visual Studio on Windows

To install MeshLib via Visual Studio, follow these steps:

  1. Open Your Project in Visual Studio:
  2. Open the NuGet Package Manager:
  3. Search for MeshLib:
  4. Install the Package:
  5. Start Using MeshLib:

Installation from a Downloaded NuGet Package