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

The Archive Base Latest Questions

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

I was trying to get farseer physics engine to work. Everything compiles fine except

  • 0

I was trying to get farseer physics engine to work. Everything compiles fine except for one error that wont go away.

Error 1 The type or namespace name ‘Stopwatch’ could not be found (are
you missing a using directive or an assembly reference?)

It wont let me contruct a Stopwatch object. The error is point at this one line
private Stopwatch _watch = new Stopwatch();
Now i checked the references and I can find the stopwatch class in system.diagnostics, so I know its there, and I’m using System, I also put in System.diagnostics. Any help on what I can do to get it to find the Stopwatch class. I’m new to visual studio and xna, but I have prog exp w/ java.

EDIT: I added the reference Microsoft.Phone like v4vendetta said and it worked, Thanks!

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

    I believe you would need a reference to Microsoft.Phone.

    Never worked on them but got a hint from the following post which lead to my suggestion.

    Apparently this guy was unable to reference it.

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

Sidebar

Related Questions

Trying to get tag-it to work with an ajax call. Everything works so far.
Trying to get comfortable with jQuery and I have encountered some sample code that
Trying to get this to work, with no luck: [DataMember] public Type ParameterType {
Trying to get a JSON output to work with jqGrid 'userdata' option. The example
When I'm trying get method from remote webservice it gives me error. My code
I've been at this for 12+ exhausting hours trying get it to work on
I'm trying get LocalConnection to work between two swf's placed within two different IFRAMES.
I am trying get Javascript popup calendar control to work which doesnt work. I
I am trying get my hands dirty with async CTP and I noticed that
I am trying get a div that I have hidden to show in the

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.