hi guys,
i have to deploy few assembly to GAC.
I just had a few questions about (my) understanding of GAC.
really confuses me.
I want to know which versions to change assembly and file version.
What are possible combinations in which GAC dll will be replaced by installing application.
and basic management for GAC files.
I will explain my question using following example for better understanding of GAC ::
Suppose i have products A and B .
Both A and B refer to myfile.dll installed in GAC.
(i) assembly version : [1.0.0.0]
(ii) assembly file version : [2.0.0.0] (intentionally different to avoid more confusion)
Q1]Suppose i have a bug fix that applied in myfile.dll. Then which version should i change?
Q2]Suppose i have new version of A say 'ANEW' .then which version should be changed so that both A,B ANEW can reside side by side.
Q3] suppose if i have 'A' installed with myfile.dll present in GAC and now i try to install 'B' which has gac dll with bug fixes ..then which versions to change so that change reflects in 'A'.
Q4]same as Q3 but B's change should not reflect in 'A'.
Q5]Suppose 'A' is installed with myfile(1.0.0.0). Now suppose 'B' is installing with myfile(1.x.y.z).. will the GAC file be replaced?
Q6]Suppose 'A' is installed with myfile(1.0.0.0). Now suppose 'B' is installing with myfile(2.x.y.z).. will the GAC file be replaced?
Q7]Suppose 'A' is installed with myfile (1.0.0.0). Now suppose 'B' is installing with myfile(1.0.0.0) assuming the version is not changed.. will the GAC file be replaced?
Q8]Also how are GAC dlls removed .is there any criteria for removal?
i guess questions are bit confusing but hope you guys know what im asking.
If you guys have any more possibilites pls feel free to add :) if any of possibilties is invalid,just ignore ;)
thx Amitd
PS: Related to this topic net-assembly-dll-sharing-and-deploying