Re: [Mono-dev] Unloading an Assembly

2006-03-01 Thread vijaya raghava mutharaju
Hi, The issue is resolved. The mistake I have been doing was, though I loaded the assembly into another AppDomain, I was referencing(using Reflection) it in the CurrentDomain. Also I used MarshalByRefObject in a wrong manner. I thought it should be used by the Assembly Iam

Re: [Mono-dev] Unloading an Assembly

2006-02-28 Thread Rafael Teixeira
AFAIK, ShadowCopyFiles isn't implemented yet in Mono. :| On 2/27/06, vijaya raghava mutharaju [EMAIL PROTECTED] wrote: Hi, I was going through an MSDN article by Eric Gunnerson. He says that if we want the runtime to probe for the assembly in any other location then we should setup

Re: [Mono-dev] Unloading an Assembly

2006-02-27 Thread vijaya raghava mutharaju
Hi, I was going through an MSDN article by Eric Gunnerson. He says that if we want the runtime to probe for the assembly in any other location then we should setup the ApplicationBase property of AppDomainSetup class.By default, runtime will lock that assembly. So we have to set the

Re: [Mono-dev] Unloading an Assembly

2006-02-26 Thread vijaya raghava mutharaju
Hi, Zoltan - That bug is different. There are similarities. Mine is related to communication between different AppDomains. My application is as follows: 1) Domain1 - Loading an assembly - SampleApplication.exe From next statement, the current domain starts. CurrentDomain - Using Reflection on

Re: [Mono-dev] Unloading an Assembly

2006-02-26 Thread Zoltan Varga
Hi, Try creating a simple test case and report it at our bug tracking system, attaching the test case. Zoltan On 2/26/06, vijaya raghava mutharaju [EMAIL PROTECTED] wrote: Hi, Zoltan - That bug is different. There are similarities.

Re: [Mono-dev] Unloading an Assembly

2006-02-26 Thread vijaya raghava mutharaju
Hi, The assembly file should be in the current directory itself. It cannot be in any other directory. If it is, then it should be either strong named or put in GAC. There is another problem. When Iam trying to use Mono.Cecil for Step - 2 described above, Iam getting an exception

Re: [Mono-dev] Unloading an Assembly

2006-02-25 Thread Zoltan Varga
Hey, You might be running into this one: http://bugzilla.ximian.com/show_bug.cgi?id=27663 Zoltan On 2/25/06, vijaya raghava mutharaju [EMAIL PROTECTED] wrote: Hello, I have created an AppDomain to load an Assembly, used

Re: [Mono-dev] Unloading an Assembly

2006-02-25 Thread Néstor Salceda
El sáb, 25-02-2006 a las 11:49 +0530, vijaya raghava mutharaju escribió: Hello, What went wrong ? Please tell me. Hello ! I'm writting a little component framework, and i have to do assembly unloading. The component container, must inspect assemblies searching

[Mono-dev] Unloading an Assembly

2006-02-24 Thread vijaya raghava mutharaju
Hello, I have created an AppDomain to load an Assembly, used Reflection on it and then Unloaded the AppDomain. Is there any Remoting Issues associated with Unloading of an Assembly. Iam getting exceptions. AppDomain newDomain = AppDomain.CreateDomain(NewDoamin); Assembly myAssembly =