MissingMethodException when method isn't missing...
- From: "Hank" <sorry@xxxxxx>
- Date: Tue, 24 Jan 2006 10:02:09 -0600
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
.
- Prev by Date: Re: Proper Machine for Development
- Next by Date: Re: CF and display of Images
- Previous by thread: Proper Machine for Development
- Next by thread: Re: Activesync programming
- Index(es):
Relevant Pages
|