Mono Cecil Instrumented dll throwing System.ExecutionEngineException

22 views
Skip to first unread message

venu gopal Yela

unread,
Oct 1, 2018, 6:26:53 AM10/1/18
to mono-cecil
Hi JB,

We are successfully using Mono Cecil to instrument .Net assemblies and running the instrumented assemblies in Visual Studio. 
Recently for one of the assemblies, we are getting error "System.ExecutionEngineException" at runtime. 
And Visual Studio is not showing class name/method name that caused this error. 

.Net Version is 3.5 and Visual Studio is 2009.

Tried all the possible options that we can.
Is this related to Windows and .Net Version & Visual Studio Version?

Can you please help?

Thanks,
Venu

Jb Evain

unread,
Oct 1, 2018, 11:56:02 AM10/1/18
to mono-...@googlegroups.com
Hello,

It sounds like there's a bug in your instrumentation that ends up triggering a pretty bade exception :)

The best way to tackle issues like that is to run the tool `peverify` from the .NET Framework SDK on your instrumented assemblies.

Jb

--
--
--
mono-cecil
---
You received this message because you are subscribed to the Google Groups "mono-cecil" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mono-cecil+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

venu gopal Yela

unread,
Oct 3, 2018, 3:36:28 AM10/3/18
to mono-cecil
Thank you JB. It helped.

PEVerify is showing the errors and trying to fix them.

Thanks,
Venu
Reply all
Reply to author
Forward
0 new messages