Hi all, I just open an assembly with cecil and save it:
AssemblyDefinition assembly = AssemblyFactory.GetAssembly(pathbin);
AssemblyFactory.SaveAssembly(assembly,
pathbin.Replace("ConsoleDemo.exe", "ConsoleDemo.exe"));
Now i can attach the debugger on the new exe but I cannot set any
breakpoints in Vs net 2008!
I get a very intuitive error message from the IDE:
The breakpoint is not valid! The Common Language Runtime was unable to
set the breakpoint.
Any ideas? The symbols are loaded...but...
--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---