----------------------------------------------------------- New Message on MumbaiUserGroup
----------------------------------------------------------- From: Arv Message 3 in Discussion The very basic difference.. The Private assembly resides in application directory. So only one application can use the assembly thus does not require any version. Shared application can be used by multiple applications on machine and applications could have been compiled with specific version. So require version management. hope this clears the doubt Regards, Arvind -----Original Message----- From: Atul Mittal [mailto:[EMAIL PROTECTED] Sent: 15 July 2004 13:55 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: versioning is only applied to shared assemblies, not private assemblies? ----------------------------------------------------------- New Message on CNUG ----------------------------------------------------------- From: Atul Mittal Message 2 in Discussion Differences Between Shared and Private Assemblies and how to use them. Shared and Private Assembly: A private assembly is a assembly that is available to particular applications where they are kept. And cannot be references outside the scope of the folder where they are kept. In contrast, Shared Assemblies are the assemblies that are accessible globally/shared across the machine to all the applications. For using the shared assemblies you need to register the assembly with a strong name in the global assembly cache(GAC) using gacutil.exe. GAC can be found on all the computers with .Net framework installed. The .NET solution to this is that every assembly has version information carried in the manifest, thus the assembly information for a particular application will carry the dependency information for the particular objects used and within this dependency the manifest of the DLL's that form the objects assembly will be identified and the unique version required for the application will be stored in the manifest for the application in the form of Compatibility Version Numbers . This means that when the client starts to run, the relevant assembles are gathered from the GAC and since the GAC can contain different versions of the same assembly, (remember the Strong Name is the unique identifier), not the file name so now the loader can find the exact version needed. Of course this is why the GAC has to have special tools to manipulate the files stored since we have Assembles that have the same name but different versions and different Strong Names. i guess now it will be clear why versioning is applicable only to Shared Assemblies and not Private Assemblies. >From: "Anjali_Mehta_DotNet" <[EMAIL PROTECTED]> >Reply-To: "CNUG" <[EMAIL PROTECTED]> >To: "CNUG" <[EMAIL PROTECTED]> >CC: "AhmedabadUserGroup" ><[EMAIL PROTECTED]>,"PuneUserGroup" ><[EMAIL PROTECTED]>,"DOTNETSIG" ><[EMAIL PROTECTED]>,"kolkatanet" ><[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>,"MS Dot >Net Indore" <[EMAIL PROTECTED]>,"BDOTNET" ><[EMAIL PROTECTED]>,"Chennai .NET User Group" ><[EMAIL PROTECTED]>,"dotNET User Group Hyd" ><[EMAIL PROTECTED]>,"MumbaiUserGroup" ><[EMAIL PROTECTED]> >Subject: versioning is only applied to shared assemblies, not private >assemblies? >Date: Thu, 15 Jul 2004 04:49:18 -0700 > _________________________________________________________________ Apply to 50,000 jobs now. http://go.msnserver.com/IN/46921.asp Post your CV on naukri.com today. ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/CNUG/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED] ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]

