You are here: Start » C# Project Configuration

C# Project Configuration

This document describes Aurora Vision Deep Learning Library .NET only. For more information about AVL.NET see its documentation.


Aurora Vision Deep Learning Library .NET is designed to be a part of applications working under control of the Microsoft Windows operating system. Supported versions are: 7, 8/8.1 and 10. To build an application using Aurora Vision Deep Learning Library .NET under Microsoft Windows, Microsoft Visual Studio environment is required. Supported versions are: 2015, 2017 and 2019.


Aurora Vision Deep Learning Library .NET is distributed as a managed 64-bit assemblies (*.dll). Assemblies are located in following paths:

  • %AVLDL_PATH5_3%\bin\x64\AvlDl.Net.dll - containing .NET wrappers for AVLDL.dll.
  • %AVLDL_PATH5_3%\bin\x64\Avl.Net.TS.dll - this assembly should be referenced only in case of creating application using AvlDl.Net but not AVL.NET (see below).

where %AVLDL_PATH5_3% is an environment variable set during Aurora Vision Deep Learning installation.

Configuring Project

To built application with Aurora Vision Deep Learning Library .NET, AvlDl.Net.dll assembly must be referenced. It can be done using typical mechanisms provided by Microsoft Visual Studio.

In rare case of creating application without using AVL.NET, Avl.Net.TS.dll assembly, provided by Aurora Vision Deep Learning (see above), have to be also referenced.

In most cases, created application will also use AVL.NET. In such case, is it advised to reference Avl.Net.TS.dll assembly provided by AVL.NET. Moreover, make sure that Application | Auto-generate binding redirects project setting is enabled. Used AVL.NET should not have older than AvlDl.Net - it may result in CS1705 error regarding AvlDl.Net and Avl.Net.TS.

To have the built application work properly, besides AvlDl.Net.dll assembly there must be also native AVLDL.dll library present in the application directory. This can be achieved with PostBuildEvent which will copy appropriate version of the AVLDL.dll library:

        xcopy /D /Y "$(AVLDL_PATH5_3)\bin\x64\AVLDL.dll" "$(TargetDir)"

All programs using AVLDL.dll have to load DLL files from Deps_x64 subdirectory of Aurora Vision Deep Learning installation directory. Common ways to ensure that are:

  • add path to Deps_x64 directory to PATH environment variable, or
  • copy contents of Deps_x64 to some directory listed in PATH environment variable, or
  • copy contents of Deps_x64 next to AVLDL.dll.

Running Aurora Vision Deep Learning Service is not required for using Aurora Vision Deep Learning Library .NET (this is even discouraged).

Previous: C++ Project Configuration Next: Known Issues