Here are the steps to reproduce the error:

In Visual Studio 2005, create a new Visual C++ --> CLR --> CLR Console
Application.
Change project setting to /clr:pure
Build project.
Using SVN head version of Cecil, round-trip the assembly:
            AssemblyDefinition ad = AssemblyFactory.GetAssembly(@"C:
\Console\Debug\Console.exe");
            AssemblyFactory.SaveAssembly(ad, @"C:\Output
\Console.exe");

When running the output assembly, I get a 'ComException : Record not
found on lookup' error at startup.

I researched this on web and there is not much info about this error,
but it may be related to invalid characters in type names.





--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---

Reply via email to