A
Andrew Ducker
I'm trying to load an assembly into a temporary AppDomain rather than
my main AppDomain, so that it can be unloaded later on. However, it's
also loading into my main AppDomain at the same time.
My code is:
AppDomain a = AppDomain.CreateDomain("TestDomain");
a.Load("AppDomainTestAssembly");
and in the Console window I get the following when the second line
executes:
'TestDomain': Loaded 'c:\visual studio
projects\appdomain\appdomain\bin\debug\appdomaintestassembly.dll',
Symbols loaded.
'AppDomainTest.exe': Loaded 'c:\visual studio
projects\appdomain\appdomain\bin\debug\appdomaintestassembly.dll',
Symbols loaded.
Which clearly means it's loading into both assemblies, yes? Is there a
reason why it's not just loading into TestDomain?
Cheers,
Andy D
my main AppDomain, so that it can be unloaded later on. However, it's
also loading into my main AppDomain at the same time.
My code is:
AppDomain a = AppDomain.CreateDomain("TestDomain");
a.Load("AppDomainTestAssembly");
and in the Console window I get the following when the second line
executes:
'TestDomain': Loaded 'c:\visual studio
projects\appdomain\appdomain\bin\debug\appdomaintestassembly.dll',
Symbols loaded.
'AppDomainTest.exe': Loaded 'c:\visual studio
projects\appdomain\appdomain\bin\debug\appdomaintestassembly.dll',
Symbols loaded.
Which clearly means it's loading into both assemblies, yes? Is there a
reason why it's not just loading into TestDomain?
Cheers,
Andy D