Bind any version of MySql.Data using the app.config
Posted
by Martin Kirsche
on Stack Overflow
See other posts from Stack Overflow
or by Martin Kirsche
Published on 2010-04-30T12:12:34Z
Indexed on
2010/04/30
12:17 UTC
Read the original article
Hit count: 303
How do I bind any version or a range of versions of an assembly by using the app.config?
I'm currently binding the MySql.Data assembly like this:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" applies-to="v2.0.50727">
<qualifyAssembly
partialName="MySql.Data"
fullName="MySql.Data, Version=6.2.2.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL"/>
</assemblyBinding>
</runtime>
Any version of MySql.Data other than 6.2.2.0 is not working this way. The versions of this assembly are changing fast so I either want to bind any or all versions beginning with 6.2 to my application without changing the app.config each time.
© Stack Overflow or respective owner