Hi all, is it possible to use Cecil (or Reflection or byte[]) to
change programatically compiled module (.netmodule) in Microsoft VC#
to other than original name? And if yes, can you please provide an
example?

Overview: module is porgramatically compiled using
Microsoft.CSharp.CSharpCompiler (cant remember the name of the
class :)) and stored in temporary directory where it should be copied
with other file names. Name of the modules is build-in by defualt when
its compiled so simply renaming this module will not work (thanks
Micorosft). I managed to locate build-in name defenition inside the
module but to change it, new module name have to be the same length as
the original.

Any ideas?

PS. simply renaming module does work but when its loaded (LoadModule)
it gived an error that Example.module is not Example2.module, filename
must be the same as the defined name... ?
--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---

Reply via email to