Hi,

I am trying to create a small profiler using mono.cecil. The way I
want to implement it is by having all the methods required for
profiling in one DLL and then extracting those moethods and adding
them to <Module> module of the assembly I want to profile.

Now, I can do all that I have described so far. The methods get added
and reflector shaws the code without any problem.

But I get "{"Could not load type 'System.String' from assembly 'GSORM,
Version=2010.9.2.150, Culture=neutral,
PublicKeyToken=null'.":"System.String"}" exception in the functions
where I inject the calls to the newly added methods where GSORM is our
own DAL and is one of the many assemblies referenced by the assembly
instrumented.

Now what does the loading of type System.String have to do with
GSORM.DLL (our own DAL).

Can somebody please give me pointers where to look for potential
source of issue?

Or can somebody share the idea of implementing what I described in to
beginning of my mail?

Thanks in advance
Vijay

-- 
--
mono-cecil

Reply via email to