Hey Dmitriy,
I've been working with your first solution idea. The problem is, as I
belive I stated in the first post, it seems to me that even though I'm
unwrapping the loader in the new appdomain the remote loader, when I use
the
AppDomain.CurrentDomain.BasePath it returns the base path of the AppDomain
the main application is running in, and not the new AppDomain I created
the
loader in. Also, when I force load the path into the loader it returns a
serialization error stating that it doesn't have enough information or
some
such.
Again, this is just driving my crazy trying to figure it out.
Sincerely,
Jon
Dmitriy Lapshin said:
Hi,
I remember there are two solutions:
a) Playing with AppDomainSetup and AppDomain properties to ensure proper
values of PrivateBinPath and other properties used by the Fusion assembly
loader to locate assemblies.
b) Attaching a handler to the AssemblyResolve event and loading a
requested
assembly with Assembly.LoadFrom from a known location.
--
Sincerely,
Dmitriy Lapshin [C# / .NET MVP]
Bring the power of unit testing to the VS .NET IDE today!
http://www.x-unity.net/teststudio.aspx
JonS. said:
Hi,
I posted this article (
http://msdn.microsoft.com/newsgroup...e9781a-78f7-4398-a0ef-eeb195eccaea&sloc=en-us
) last week, and have yet to receive any replies. If someone could
please
give me further information I would greatly appreciate it.
Sincerely,
Jon