Hi,
What are the main difference between private assemblies and shared assemblies?
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
SenthilkumarRank #387 · 6.5K reputationPosted Mar 12, 2012, 9:57 PM EDT
The shared assembly can be shared by the multiple application.
2) The private assembly has to be added for every application as reference
The shared assembly has to be added into the GAC folder. All the application can be access the assembly.
3) The private assembly cannot have the versions. The name should be different.
The shared assembly can have multiple versions and it will be identified by the strong name key.
The strong name key has to be assigned to the shared assembly. The sn.exe tool used to create the strong name key.
The gacutil.exe tool is used to install the shared assembly in GAC.
It will be stored into the C:\Windows\Assembly OR C:\Winnt\Assembly folder
The shared assembly will have its own identity like strong name, version, etc..,
If it is useful then mark it as "Accepted Answer"
chirag pandya30 reputationPosted Mar 13, 2012, 10:56 PM EDT
Shared assemblies:- The scope of shared assemblies is upto all application in server. for example crystal report .dll when you install it will reside in Global Assembly Cache. so all web application of that server can use crystal report functionality.