[MonoDevelop] TargetInvocation Exception

Michael Hutchinson m.j.hutchinson at gmail.com
Fri Feb 26 22:29:40 EST 2010


On Mon, Feb 22, 2010 at 12:23 PM, D Boarman <ddboarm at yahoo.com> wrote:
> I have MonoDevelop 2.6.1, latest Mono, .Net 3.5 SP1 Framework installed.
>
> A simple program as follows:
>
> using System;
> using System.Data;
> using System.Drawing;
> using System.Windows.Forms;
>
> namespace NewProgram
> {
>     static class Program
>     {
>         [STAThread]
>         static void Main (params string[] args)
>         {
>             SayHello ();
>         }
>
>         static void SayHello ()
>         {
>             MessageBox.Show ("Hello World...");
>         }
>     }
> }
>
> I have .Net set as the default debugger. When I try to run in debug (F5) I
> get the following (I am only giving the first bit since it is extremely
> long):
> Exception in callback: System.Reflection.TargetInvocationException:
> Exception has been thrown by the target of an invocation. --->
> System.Runtime.InteropServices.COMException (0x8013131D): JIT settings for
> ZAP modules cannot be changed.
>
> Any ideas as to what could be wrong or what I might not have settings
> correct for?

Is there anything unusual about the way that .NET is set up on your
machine? It works fine here.

I suggest filing a bug.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list