Hi,
I have an application loader that dynamically loads applications. An application is an assembly with all of its dependents in a single folder. Using XCOPY deployment I can add/remove applications by copying/deleting a folder. To facilitate standard .NET assembly binding I copy the application folders under the bin of the loader. I set the probing privatePath in the config file and everything works like a charm.
The applications uses a framework, i.e. shared assemblies as dependents.
Now I have a requirement that states that each application has to be able to use its own version of the framework.
This works perfectly when I install the framework versions in the GAC, and the different versions of the assembly are loaded into the default AppDomain just fine.
Now I want to get back to my XCOPY solution and copy the correct framework versions in their corresponding application folders and the solution breaks.
The first application referencing its framework works fine, the second complains about not finding the assembly and the manifests not matching.
It's as if the .NET loader stops probing after a first match of the assembly with a folder in "privatePath" and does not look any further.
Any ideas on how to have the same behavior as when using the GAC? Anything else I could specify in config, codeBase? (no absolute file paths please).
kr, Michel