Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / December 2004

Tip: Looking for answers? Try searching our database.

Version of Dll in GAC

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nelson Xu - 09 Dec 2004 13:58 GMT
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
Scott M. - 09 Dec 2004 14:55 GMT
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 All,
> I have a .net assembly installed to the GAC.
[quoted text clipped - 8 lines]
>
> Nelson
Nelson Xu - 09 Dec 2004 18:48 GMT
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
[quoted text clipped - 18 lines]
>
>.
Scott M. - 09 Dec 2004 23:24 GMT
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?

> Hi Scott,
> Thank you for your qucik response. However, I did not get
[quoted text clipped - 38 lines]
>>
>>.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.