Hi,
Using Mono.Cecil, I inserted custom attributes into an
assembly. Some of the classes in it are Clock, DisplayTime,
Observer,. The attribute is a string of type MyAttribute. Now
after inserting a value and disassembling the assembly, instead of a
statement like the following:
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
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
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
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
:24 +0100, Alexander Olk wrote: Am Sonntag, den 26.02.2006, 01:16 +0530 schrieb vijaya raghava mutharaju:
Iam using the latest version of mono only - 1.1.13.2. I did set the InitialDirectory property to /root. If I leave it empty, then also it is giving an
exception.It is saying that it cannot
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 =
Hello,
I
want to add custom attributes to an existing assembly. I want to do the
following steps.
1) Refer the class MyAttribute which is in the assembly
MyAssembly.exe, so that I can import into the current assembly -
AnotherAssembly.exe
2) Add this attribute (MyAttribute constructor with
code is completely off target. Iam new to Cecil.
Thank you.
On 2/21/06, vijaya raghava mutharaju [EMAIL PROTECTED] wrote:
Hello,
I
want to add custom attributes to an existing assembly. I want to do the
following steps.
1) Refer the class MyAttribute which is in the assembly
MyAssembly.exe
Hi,
Can
we directly change(add) the entries in the metadata tables without
adding any entity(like a class) into the assembly (using Mono.Cecil).
Maybe just like a comment into the table. Please, can you explain the
steps for doing it or if it is not possible then the steps to do in
normal way
Hi,
I installed Mono and Cecil.
Tried to compile a sample application using Mono.Cecil. But the mcs
compiler is giving error messages that it cannot find Mono.Cecil.
I installed Mono.Cecil.dll
into the GAC successfully. Generated a key and recompiled
Mono.Cecil.dll.sources with the
Hi,
Iam new to
Mono and Cecil. I want to modify an exiting .NET assembly and came to
know that with Cecil I can do that. But Iam unable to find proper
tutorials and documentation of them. There is just a list of Classes
present in Mono and their description available in the Cecil site
12 matches
Mail list logo