Lol - nothing I like for than some light bedtime reading :o|
As a temporary workaround, I've copied all dependencies to the directory -
still get a FileNotFound.
The parameter being passed in is
@"c:\mySupportApp\staging\myApp.Plugins.Email.dll"
Code is:
private List<string> GetTypesFromAssembly(string assemblyName)
{
AppDomainSetup ads = new AppDomainSetup();
ads.ApplicationBase = Path.GetDirectoryName(assemblyName);
AppDomain secondDomain = AppDomain.CreateDomain
("PluginDomain", null, ads);
Assembly asm = secondDomain.Load(AssemblyName.GetAssemblyName
(assemblyName));
// remainder ommited - error at line above
}
Any ideas?
===================================
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com