Skip to content
This repository was archived by the owner on Aug 6, 2021. It is now read-only.

Adding CUE.NET to a project

DarthAffe edited this page Jun 3, 2016 · 5 revisions

CUE.NET works for both x86 and x64 architecture but requires the .NET-Framework 4.5 or newer.

There is more than one way to add CUE.NET to your project. The following describes the most common ones:

Adding the reference using NuGet

This is the easiest and therefore preferred way to include CUE.NET in your project.

Just add CUE.NET from the nuget.org repository to you project using the NuGet Package Manager included in Visual Studio. Only stable packages are published to nuget.org so they should always be safe to use.
You can find the latest stable package at https://www.nuget.org/packages/CUE.NET/

If you want to use a development version you can get them from the CUE.NET MyGet gallery by adding the feed as a package source to your Visual Studio.
You need to check "Include prerelease" to see the package in Visual Studio.

Downloading the latest release and adding it by hand

This will lead to the same result as using the latest package from nuget.org but requires more work:

  1. Download and unpack the latest version from https://github.com/DarthAffe/CUE.NET/releases/latest.
  2. Add the CUE.NET.dll as a reference to your project.
  3. Make sure the x86 and x64 folder are copied to your application directory (e.g. by adding them as a solution item and creating a post-build event to copy them on build)

Building CUE.NET on your own

Building CUE.NET requires the roslyn compiler and therefore Visual Studio 2015 or newer!

Of course you have always the possibility to get the CUE.NET source code from github and modify (respecting the LGPL v2.1) or build it on your own.
The build process is straightforward. If you have any problems doing it you should consider using the binaries.

Clone this wiki locally