This project has moved and is read-only. For the latest updates, please go here.

Common Language Runtime detected an invalid program


I'm looking to fix an issue. I know this is an old program, if someone thinks I should use something else please feel free to tell me that.

In a C# MVC 4.6 app I am able to load and run a javascript program
Engine.Execute(GetEmbeddedResource("HTMLBarsHelper.Scripts.ember-template-compiler.js", ass));
BUT... if I deploy or run the inside an IIS site I get an exception
System.InvalidProgramException: Common Language Runtime detected an invalid program
could this just be because its .Net 4.6? I'm at a loss. Not sure where to go with this.


haldiggs wrote Feb 2, 2016 at 7:47 PM

ok this looks like the same issue reported her

I sure would like a solution for this. I cannot rewrite all of the "continue" statements out of all the js code. Help? Please Paul!

paulbartrum wrote Feb 3, 2016 at 2:57 AM

If it's the same issue, then the fix has been done already. You'll need to pull down the source code and build the DLL yourself, since v2.2 doesn't have the fix.

haldiggs wrote Feb 5, 2016 at 2:47 PM

ahh thanks, was not aware. appreciate the note