MissingMethodException when method isn't missing...

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I converted a VStudio 2003 CF solution over to 2005 and was running it just
fine for a few weeks, then suddenly I started getting
MissingMethodExceptions seemingly out of the blue. My solution has 4
projects in it, and when the main project "A" tries to reference a class "c"
in project B, I get the exception. I think it might be throwing it during
JIT because when stepping thru the code, I can't reach the line where it
actually references the class before it gets thrown. Class c has static
methods and properties. All 4 projects compile and all methods and
properties that I'm calling in class c show in intellisense.

I've tried rebuilding the entire solution to no avail. All projects are
smart device projects. I've tried both 2003 and 5.0 platforms, did hard
resets, deleted bin/obj directories, rebooted the desktop. Project A has a
project reference to B and I've tried a direct reference to project B's dll.
I can call methods from classes in project C with no problem. I can't
remember doing anything to my projects or environment that might do this.

Any ideas?

The error messages:
This morning, the first time I ran it, I got an error message that it
couldn't find the GetConnection method in class c.
The second and subsequent times I got this:
"Could not load type 'MyNamespace.c' from assembly 'MyNamespace,
Version=1.2.0.0, Culture=neutral, PublicKeyToken=null'."
So it looks like it loaded it the first time, then subsequently didn't(?).

Hank



.



Relevant Pages

  • Re: outlook
    ... or that this discussion group (my first time here with a ... Administrative Tools-- Provide the EXACT error messages perhaps so someone ... > unsolicited mail sent to my personal account will be deleted without ... yes it reads that outlook and word has to close it and will ...
    (microsoft.public.outlook)
  • Re: Tab control & formatting
    ... THe last time I used tabbed forms was also the first time. ... and I had no trouble with error messages as I moved form one to the ... error message telling me that one of the fields is required data -- ... Rick Brandt, Microsoft Access MVP ...
    (microsoft.public.access.forms)
  • Help! Formula that can Ref. hidden data & Populate Cells with desired text
    ... This is the first time I have ever posted a question on the internet, ... a user would only need to enter a desired req. ... I think its the LOOKUP (or maybe something to do with a REFERENCE) ... comes to figuring out how to turn that row/column reference into the ...
    (microsoft.public.excel.worksheet.functions)
  • looking up data in another column & populating another cell
    ... This is the first time I have ever posted a question on the internet, ... a user would only need to enter a desired req. ... I think its the LOOKUP (or maybe something to do with a REFERENCE) ... comes to figuring out how to turn that row/column reference into the ...
    (microsoft.public.excel.newusers)
  • VirtualPC lockup
    ... Usually it rectifies itself on restarting VPC though on occasion I've ... had to discard the orginal image. ... first time the computer was off even though I had only put it to sleep ... of error messages about various xx.dll files "not a win32 image" or ...
    (microsoft.public.mac.virtualpc)