Re: assembly name 'Microsoft.WindowsMobile.Utilities ....was not found
- From: "<ctacke/>" <ctacke[@]opennetcf[dot]com>
- Date: Sat, 14 Oct 2006 12:51:22 -0400
The classes in the Microsoft.WindowsMobile namespace are only available on
WM 5.0 devices. There's no workaround for that (short of implementing them
yourself).
--
Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
"John Vaccaro" <JohnVaccaro@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A9ECB35D-BBD9-4423-8642-8E26812BBCF4@xxxxxxxxxxxxxxxx
I don't mean to cross-post, but I am in need of help here. I posted this on
the Smartphone Developer's forum with no responses and doing a search on
both
forums showed that mine was the only post on this problem. I know that I
can't be the only one who has run upon this.
I am trying to create a Windows Mobile 5 Pocket PC Smartphone application
for the Palm Treo 700w and HP Smartphones with a 240x240 resolution. I am
trying to access some information in the Microsoft.WindowsMobile.Status
namespace and when I get to the line of code where the class is called, I
get the following exception:
File or assembly name 'Microsoft.WindowsMobile.Utilities, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=31BF3856AD364E35', or one of its
dependencies, was not found.
I have the exact same code running on Windows Mobile 5.0 Smartphone SDK
and
there are no exceptions thrown when this class is called. This exception
is
being thrown from the IDE during debug. If I comment out the lines that
reference this class, the app runs fine. The problem is - there is no
Microsoft.WindowsMobile.Utilities assembly to be found anywhere in the
SDK.
In my researh, I have come to the conclusion that this namespace has
something to do with the SDK 2003, but it is no longer used in the WM 5
SDK,
so I can't figure out why this is crashing. I am past deadline on getting
this app out and this is the only thing that is stopping me from rolling
out
the app.
I did a Google search on this and it came up with one hit to a blog entry
which didn't provide a solution. I also did a search on MSDN and came up
empty and Yahoo came up with several hits, but most were all pointing to
the
same one I found on Google. The problem was discussed on a blog, but there
was never an answer or solution posted. Has anyone come across this
exception
before and if so, what did you do to correct the problem?
.
- Follow-Ups:
- Re: assembly name 'Microsoft.WindowsMobile.Utilities ....was not f
- From: John Vaccaro
- Re: assembly name 'Microsoft.WindowsMobile.Utilities ....was not f
- Prev by Date: Re: Closing forms in Load
- Next by Date: C# to VB question
- Previous by thread: Is there any approach to invoke the windows bluetooth searching dialog
- Next by thread: Re: assembly name 'Microsoft.WindowsMobile.Utilities ....was not f
- Index(es):
Relevant Pages
|