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

Re: Version of Dll in GAC by Scott

Scott
Thu Dec 09 08:55:33 CST 2004

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.

"Nelson Xu" <ningsheng.xu@litton.c-bass.com> wrote in message
news:1d0c01c4ddf7$1a57d180$a501280a@phx.gbl...
> 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



Re: Version of Dll in GAC by Nelson

Nelson
Thu Dec 09 12:48:48 CST 2004

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

>-----Original Message-----
>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.
>
>"Nelson Xu" <ningsheng.xu@litton.c-bass.com> wrote in
message
>news:1d0c01c4ddf7$1a57d180$a501280a@phx.gbl...
>> 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
>
>
>.
>

Re: Version of Dll in GAC by Scott

Scott
Thu Dec 09 17:24:29 CST 2004

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?


"Nelson Xu" <ningsheng.xu@litton.c-bass.com> wrote in message
news:0b6701c4de1f$b840bf60$a401280a@phx.gbl...
> 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
>
>>-----Original Message-----
>>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.
>>
>>"Nelson Xu" <ningsheng.xu@litton.c-bass.com> wrote in
> message
>>news:1d0c01c4ddf7$1a57d180$a501280a@phx.gbl...
>>> 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
>>
>>
>>.
>>