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 3852226
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T17:17:08+00:00 2026-05-19T17:17:08+00:00

I have some unit tests that run fine on my dev machine on both

  • 0

I have some unit tests that run fine on my dev machine on both the Win Mobile 5 and 6 (Professional) emulators.

Running on a build server some of the unit tests fail, but only on the Win Mobile 6 emulator (all tests pass on the Win Mobile 5 emulator).

The tests that fail have errors like:

Test method XXXXXMobile.Test.ManifestTests.TestCrewManifest threw exception: System.MissingMethodException: Could not load type 'XXXXXMobile.Controllers.ManifestController' from assembly 'XXXXXMobile.Controllers, Version=1.0.4049.32739, Culture=neutral, PublicKeyToken=null'..

and

Test method XXXXXMobile.Test.PermissionTests.TestMenuBarPermissions threw exception: System.MissingMethodException: Method not found: op_Implicit System.Object..

The command line that sets off the tests is:

C:\hudson\jobs\XXXXX Mobile (WinMobile 6 Emulator Tests)\workspace>e:\VS9\Common
7\IDE\MSTest.exe /runconfig:YYYY\WinMobile6Emulator.testrunConfig /testcontainer
:YYYY\XXXXXMobile.Test\bin\Release\XXXXXMobile.Test.dll

The testrunconfig file is unexciting. I think the only things I changed from the default were:
– Enable Deployment: Checked
– Host Type: Smart Device
– Platform: Windows Mobile 6 Professional SDK
– Device: Windows Mobile 6 Professional Emulator

The directory containing the test run container dll also contains the Controllers dll that is mentioned in the first error above.

Having banged my head against this for a while now, I am at a loss as to why only some tests are failing and only on one machine and one emulator. I have been unable to get any more helpful error message by turning on diagnostic logging on both MSTest.exe and VSTestHost.exe.

Any suggestions gratefully received.

  • 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-19T17:17:08+00:00Added an answer on May 19, 2026 at 5:17 pm

    And as so often happens, the answers appears shortly after asking the question.

    In this case the problem was that the emulator on the build server did not have .Net 3.5 installed. Running the application from VS will install .Net 3.5, but running the unit tests does not. On the dev machine I had already run the app and then saved state (to save having to re-install .Net 3.5 every run). This had not been done on the build server.

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

Sidebar

Related Questions

I have some written a number of unit tests that test a wrapper around
I am modifying a Nant build script to run some unit tests. I have
I am writing unit tests for some of my code and have run into
I'm just getting into unit testing, and have written some short tests to check
I've been trying to implement unit testing and currently have some code that does
I have some kind of test data and want to create a unit test
I have some UI in VB 2005 that looks great in XP Style, but
We have some input data that sometimes appears with &nbsp characters on the end.
I have some ASP.NET web services which all share a common helper class they
I have some code for starting a thread on the .NET CF 2.0: ThreadStart

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.