tags:

views:

141

answers:

2

Gotta be getting close to a long weekend.... I'm trying to create a DispatchTimer. I found some sample code but can't run it due to a missing namespace.

I have the namespace, System.Windows.Threading, but in which assembly can I find it? I tried System, System.Windows... nada.

Thanks!

+4  A: 

It is in Windows.System.Threading, but you need to be sure you are referencing the WindowsBase.dll assembly as well.

qstarin
+2  A: 

The msdn docs say it's in WindowsBase.dll . http://msdn.microsoft.com/en-us/library/system.windows.threading.dispatchertimer.aspx

John Boker
+1 for the MSDN link
Ciprian Bortos
I looked at that exact page and just overlooked the assembly name. Thanks...
Scott