Question

I have 2 versions MySql.Data assemblies in GAC

The Global Assembly Cache contains the following assemblies: MySql.Data, Version=5.2.6.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL MySql.Data, Version=6.4.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL

Will they be conflicting with each other when my class library try to find MySql.Data ?

I used gacutil to register the verion 6.4.3.0 as follow:

gacutil /i MySql.Data.dll

If I want to manual unregister assembly of a particular version , what is the command line to do it via gacutil ?

Was it helpful?

Solution

Not a problem, GAC is there to version all assemblies registered in there and is able to handle this by definition. Consuming applications can absolutely specify which version they want to use so the installation of a newer assembly in the GAC will not break existing application which need to reference older versions.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top