| Customize Help

Installing and upgrading the MIL.NET wrapper



When MIL is either initially installed or upgraded, the MIL.NET wrapper is automatically installed or upgraded as well.

Requirements and installation notes

The specific hardware and software requirements for using MIL are detailed in the Requirements to run MIL section of Chapter 1: Introduction.

After installing MIL on your computer, the following files can be found in the Matrox Imaging\MIL\MIL.NET directory:

  • Matrox.MatroxImagingLibrary.dll. This is the Interop assembly for using MIL with .NET.

  • Matrox.MatroxImagingLibrary.xml. This is the XML file for IntelliSense support in Visual Studio.

Examples for C# and Visual Basic can be found in the Matrox Imaging\MIL\Examples\ directory.

Upgrading to new versions of Matrox.MatroxImagingLibrary.dll

To upgrade an existing project with a new version of the Matrox.MatroxImagingLibrary assembly, you must open your project, rebuild the application, and re-deploy it. This is necessary because the Matrox.MatroxImagingLibrary.dll file is copied to your application's directory when the application is built. Therefore, installing a new version of Matrox.MatroxImagingLibrary.dll won't upgrade existing applications without rebuilding them.

If you are upgrading from a MIL 9.00 Update for .NET development that precedes build 1527, note that the assembly is no longer in the Matrox Imaging\Tools directory; it is now located in the Matrox Imaging\MIL\MIL.NET directory.

To update your project, follow these steps to change the reference to Matrox.MatroxImagingLibrary.

  1. Open your project.

  2. From the Solution Explorer, expand the References folder.

    By default, Visual Basic users might not see the References folder in the Solution Explorer. To make it visible, go to the Project menu and select Show All Files or click on the Show All Files icon in the Solution Explorer.

  3. Select Matrox.MatroxImagingLibrary and remove the reference to this assembly by pressing the Delete key or by right-clicking and selecting Remove from the presented context menu.

  4. Follow the steps in the Building a .NET application using MIL section later in this chapter to add a new reference to Matrox.MatroxImagingLibrary.

  5. Rebuild your application.