Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 586239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:05:12+00:00 2026-05-13T15:05:12+00:00

I have a Windows Mobile application in which I want to check the device

  • 0

I have a Windows Mobile application in which I want to check the device orientation.
Therefore I wrote the following property in one of my forms:

internal static Microsoft.WindowsCE.Forms.ScreenOrientation DeviceOriginalOrientation { get; private set; }

The strange thing is that after that whenever I open a UserControl, the designer shows this warning even if that UserControl doesn’t use the property:

Could not load file or assembly ‘Microsoft.WindowsCE.Forms, Version=3.5.0.0, Culture=neutral, PublicKeyToken=969db8053d3322ac’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Commenting the above property will dismiss the warning and shows the user control again.
The application is built successfully and runs without any problems in both cases.

Does anybody know why this happens and how can I fix it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T15:05:12+00:00Added an answer on May 13, 2026 at 3:05 pm

    This problem cost me a couple of hours. I solved it by adding the Microsoft.WindowsCE.Forms.dll to the GAC using gacutil. Hope it helps.
    Robin

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an game application I have written for Windows Mobile and I want
I have an application that runs on Windows Mobile 6 Professional PDA devices. The
I have to build a GUI application on Windows Mobile, and would like it
I have a .net 3.5 application running on windows mobile professional that uses sql
Windows Mobile devices have different behaviour for suspending when the device is on battery
I have a .Net Compact app running on Windows Mobile, and I want to
I want to create a C# program to provision Windows Mobile devices. I have
Say you have a Windows Mobile 6.0 phone that also has a GPS receiver.
I have problems with bringing a windows mobile 6 form to the front. I
What are the different database options on Windows Mobile available? I have used CEDB

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.