missingmethodexception

missingmethodexception

am 21.11.2007 17:31:02 von S Clough

I've got a VS2005 solution (written in C# and OpenGL) with an executable,
that calls lots of sub project dlls (which are in the same solution).

I briefly changed the main project to a dll (class library), then back to an
exe (windows application) but now when I try to run it I get a
"MissingMethodException".

I can get rid of this by selecting "Enable unmanaged code debugging" in the
project options, but then I can't edit my code while I'm debugging, whereas
I could before.

How do I get my solution back to the state it was in the first place?

Cheers,
Sarah

Re: missingmethodexception

am 26.11.2007 17:11:03 von S Clough

I worked it out. The exe version was getting confused by the version of the
dll I'd registered in the GAC. As soon as I deleted the assembly out of the
GAC, it worked fine.

Cheers,
Sarah


"S Clough" wrote in message
news:OmKqqvFLIHA.3992@TK2MSFTNGP03.phx.gbl...
> I've got a VS2005 solution (written in C# and OpenGL) with an executable,
> that calls lots of sub project dlls (which are in the same solution).
>
> I briefly changed the main project to a dll (class library), then back to
> an exe (windows application) but now when I try to run it I get a
> "MissingMethodException".
>
> I can get rid of this by selecting "Enable unmanaged code debugging" in
> the project options, but then I can't edit my code while I'm debugging,
> whereas I could before.
>
> How do I get my solution back to the state it was in the first place?
>
> Cheers,
> Sarah
>
>