Version of Dll in GAC

  • Thread starter Thread starter Nelson Xu
  • Start date Start date
N

Nelson Xu

Hi All,
I have a .net assembly installed to the GAC.
My question is that do I have to change the version
nunmber from AssemblyInfo.vb(I use VB.NET) every time I
make some changes for this DLL ?

It seems like if I don't change the version number from
AssemblyInfo.vb, the new changes will not be applied.

Thank you in advance !

Nelson
 
If you don't change the version number, then any other assemblies that
reference the one in the GAC, will pick up on the changes to the GAC
assembly right away (make sure that in the reference to the GAC assembly the
"Copy Local" property is false). If you do change the version number, then
other assemblies will still be targeted to the first version unless you tell
them otherwise.
 
Hi Scott,
Thank you for your qucik response. However, I did not get
changes from the assembly which is in the GAC(Copy to
Local property is set to false).

Maybe, the way that I put the assembly to the GAC is not
right.

Please advise !

Nelson
 
If you navigate to c:\WinNT\assembly do you see your assembly in the GAC?

Have you tried opening the project that uses this assembly and refreshing
the project from the Solution Explorer window?

Are you sure that in the AssemblyInfo.vb file you have the assembly version
hard coded with 4 values (x.x.x.x) and no asterisk (*) is in it?
 
Back
Top