Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > FMB, Mission & Campaign builder Discussions

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-29-2012, 09:00 AM
salmo salmo is offline
Approved Member
 
Join Date: Mar 2011
Posts: 632
Default Stopwatch - missing using directive?

All of a sudden I have a problem with the Stopwatch class. It throws a missing using directive error. I know that this class in held in System.Diagnostics, but when I open that directive the stopwatch is not there.

Code:
using System;
using maddox.game;
using maddox.game.world;
using System.Runtime.InteropServices;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using maddox.GP;
using System.Threading;
using System.Diagnostics;

public class Mission : AMission
{
    Stopwatch timer = new System.Diagnostics.Stopwatch();  // missing using directive
    Stopwatch timer = new Stopwatch();  // missing using directive
}
Any ideas what's going on? I've used stopwatch many times before without any problems.
__________________
When one engine fails on a two engine bomber, you will always have enough power left to get to the scene of the crash.

Get the latest COD Team Fusion patch info HERE
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:36 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.