HomeActive Query Builder - HowTos and TroubleshootingHow-tos for WinForms .NET EditionHow to configure assembly binding redirection?

2.1. How to configure assembly binding redirection?

> I want to connect to VistaDB.
> Do I have to use VistaDB-Version 3.2 Build 38?
> I would like to use a new version!

To use any new version of the VistaDB.NET20 assembly you need to override the version binding using the following 'app.config' file (add it into your project):

<?xml version="1.0" encoding="utf-8" ?>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
        <assemblyIdentity name="VistaDB.NET20"
          culture="neutral" />
        <bindingRedirect oldVersion="" newVersion="" />

Don't forget to change the 'newVersion' attribute to the required version of the VistaDB.NET20 assembly.

More information can be found here.

This page was: Helpful | Not Helpful