support.microsoft.com/kb/837908/en-us C# version Create a moderator class and inherit it from MarsharByRef class ProxyDomain : MarshalByRefObject { public Assembly GetAssembly(string AssemblyPath) { try { return Assembly. LoadFrom(AssemblyPath); } catch (Exception ex) { throw new InvalidOperationException(ex); } } } call from client site ProxyDomain pd = new ProxyDomain(); Assembly assembly = pd. GetAssembly(assemblyFilePath).
You just ROCK Dude. I like clean coding. – Mika Jacobi Feb 3 '11 at 16:25 How is this solution put into context of creating a new AppDomain, can someone explain?
– Tri Q Jul 29 '11 at 4:39.
On your new AppDomain, try setting an AssemblyResolve event handler. That event gets called when a dependency is missing.
You need to handle the AppDomain. AssemblyResolve or AppDomain. ReflectionOnlyAssemblyResolve events (depending on which load you're doing) in case the referenced assembly is not in the GAC or on the CLR's probing path.AppDomain.
AssemblyResolve AppDomain. ReflectionOnlyAssemblyResolve.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.