How to make Multiple Projects access a single custom component, when installed side-by-side
I am creating a custom component (comp A) which is used by 4-5 other winform projects in the same so开发者_Go百科lution. The issue is while installing the app, the user might select at the minimum one project to install or more. S/he might install another project later.
I want these projects to access the same copy of the component, at any point of time. I don't want to each of these projects to have a separate copy of the component.
How do i achieve this?
You should install your component in the Global Assembly Cache and reference it from there, instead of directly referencing the DLL on disk.
精彩评论