> I am getting the following error:
"Could not load file or assembly 'xxx' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference."
> Do I have to use that specific version?
> I would like to use a new version!
To use any other version of dependent assembly you must override the version binding using the following 'app.config' file (add it to your project):
<?xml version="1.0" encoding="utf-8" ?> <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="VistaDB.NET20" publicKeyToken="dfc935afe2125461" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="188.8.131.52" /> </dependentAssembly> </assemblyBinding> </runtime> </configuration>
Change the name, publicKeyToken and newVersion attributes to the required values.
More information can be found in the following MSDN articles: