Raghunandan44
asked on
GAC
HI ,
I am developing a Common Class Library that i wish to install it into the gac . I have Hard Coded the Assembly version of the Dll's to 1.0.3 so that if i make changes to the library and compile also it does not change .
Question 1 : Am I Going on the Right Track I mean should i hard Code the Assembly version.
2) Do i have to install and un-install the dll everytime i build the class library or because i have hard coded the assembly version it will automatically pick up the new version.
3) If i include the dll in a web project do i have to remove and add the refrenece everytime i make changes to the common library
4) Is this the right way to do
5) any other good way to do please do suggest
Thanks
Raghu
I am developing a Common Class Library that i wish to install it into the gac . I have Hard Coded the Assembly version of the Dll's to 1.0.3 so that if i make changes to the library and compile also it does not change .
Question 1 : Am I Going on the Right Track I mean should i hard Code the Assembly version.
2) Do i have to install and un-install the dll everytime i build the class library or because i have hard coded the assembly version it will automatically pick up the new version.
3) If i include the dll in a web project do i have to remove and add the refrenece everytime i make changes to the common library
4) Is this the right way to do
5) any other good way to do please do suggest
Thanks
Raghu
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
btw, i put those csc and gacutil commands in a batch and just execute it
ASKER
hi ,
Thanks for the Quick Reply . If i have the assembly version as you suggested won't that change every time i compile and will that make me add and remove the refrence in the web project . Sorry I'm a newbie
Thanks
Raghu
Thanks for the Quick Reply . If i have the assembly version as you suggested won't that change every time i compile and will that make me add and remove the refrence in the web project . Sorry I'm a newbie
Thanks
Raghu
If you are directly accessing the assembly from GAC then you need not to change the refrence as
gacutil /u FutureShirts
gacutil /i FutureShirts.dll
Will first uninstall the dll and then add a new version but if you are refrencing the dll from local folder then simply replace the dll.
gacutil /u FutureShirts
gacutil /i FutureShirts.dll
Will first uninstall the dll and then add a new version but if you are refrencing the dll from local folder then simply replace the dll.
ASKER
Thanks a Lot For the Quick Replies .
Raghu
Raghu
ASKER
I meant in the GAC
Thnaks
Raghu