HighTechTalks DotNet Forums  

missingmethodexception

Dotnet General Discussions microsoft.public.dotnet.general


Discuss missingmethodexception in the Dotnet General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
S Clough
 
Posts: n/a

Default missingmethodexception - 11-21-2007 , 11:31 AM






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



Reply With Quote
  #2  
Old   
S Clough
 
Posts: n/a

Default Re: missingmethodexception - 11-26-2007 , 11:11 AM






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" <sccNOSPAM (AT) terrafix (DOT) co.uk> wrote

Quote:
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





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.