Paul,
Thanks for your reply. Yes that helps a little. That is what I have been
trying to do. Currently we are only using COM+ for ADO connection pooling,
automatic SQL Server transactions (no begin or end tran needed,) and to
allow our component to run as a specific user instead of the interactive
user. I think we can live without most of that except the connection
pooling.
Anyway, my specific problem lies in the fact that if I create a data access
component or an authentication component on my development machine, should I
install it into the GAC or leave it where it compiles. Then when I start
developing the the second project in the solution, I can use project
references to get the correct reference to the component. When I got to
install the application, it is going to place a copy of the component
assembly in it's destination folder and, setup will install it into the
global assembly cache for me. Now, when I create a new solution or add a
third project to the solution and reference the authorization component and
then finally create my installation for the new app, do I install and
attempt to have setup install that component into the general assembly cache
or do I exclude it from the install since I and installing an add-on and
that component must already be on the target client machine?
Therein lies my confusion. I am not sure if I should build each separate
install to fully install and configure all components or do I use my
knowledge of what is on the client machine and only install what is needed.
It just seems wrong that if I have 6 console applications installed in 6
different folders that I have to install 6 copies of my authenticate dll.
Basically we have a suite of products (similar to how MS Office has word,
excell, powerpoint, etc.) but they are all distinct entities and do not
precisely fall under one heading.
>"Paul Glavich" <glav@aspalliance.com-NOSPAM> wrote in message
news:u2zqAorzDHA.4060@TK2MSFTNGP11.phx.gbl...
> Hi Robert,
>
[quoted text clipped - 81 lines]
> >
> > Robert
Paul Glavich - 09 Feb 2004 11:17 GMT
Sorry for the late reply.
When developing, I'd just use project references to build and compile. Your
installation script should check for a correct version of the assembly in
the GAC and if not there, install it.
The GAC is the place for sharing common code, however it does require some
management. Take a cue from the .Net core assemblies. They are shared in the
GAC.
Having said that, if you envision having multiple copies of your
authentication library, with each being a little different or in any way
specific to the application they are servicing, then keep them in the app
directory and not inthe GAC.
HTH,
--
- Paul Glavich
> Paul,
>
[quoted text clipped - 120 lines]
> > >
> > > Robert