D
Dougie Brown
Hi
I have a question or two which I'm pretty sure of the answers, but wanted it
confirmed by those who know more than me!!
Basically we want to share assemblies across many applications and allow for
side by side execution, but for reasons that I don’t quite agree with the GAC
is ruled out! These applications are essentially scheduled tasks hence using
the GAC means deploying to many boxes.
So that leaves me with adding a CodeBase element for each dependent
assembly. This works fine except when the referenced assembly also depends
on another assembly in the CodeBase directory, in this case the application
fails with a FileNotFoundException.
Using FusLogVw it's clear that the CodeBase is not used when probing for
this dependent assembly that is not directly referenced by the application.
If I add another dependentAssembly element for this assembly then all is good.
So at last I get to my questions:
When loading an assembly via a CodeBase why doesn't Fusion use the CodeBase
to find any of its dependent assemblies?
Other than the GAC is there an alternative?
Thanks for your help.
Cheers
Doug
I have a question or two which I'm pretty sure of the answers, but wanted it
confirmed by those who know more than me!!
Basically we want to share assemblies across many applications and allow for
side by side execution, but for reasons that I don’t quite agree with the GAC
is ruled out! These applications are essentially scheduled tasks hence using
the GAC means deploying to many boxes.
So that leaves me with adding a CodeBase element for each dependent
assembly. This works fine except when the referenced assembly also depends
on another assembly in the CodeBase directory, in this case the application
fails with a FileNotFoundException.
Using FusLogVw it's clear that the CodeBase is not used when probing for
this dependent assembly that is not directly referenced by the application.
If I add another dependentAssembly element for this assembly then all is good.
So at last I get to my questions:
When loading an assembly via a CodeBase why doesn't Fusion use the CodeBase
to find any of its dependent assemblies?
Other than the GAC is there an alternative?
Thanks for your help.
Cheers
Doug