0

So I have the line:

updaterScheduler = TaskScheduler.FromCurrentSynchronizationContext();

Which has worked fine on my debug machine (Windows 8.1) and on my virtual Windows 7 machines with .Net 4.5 installed.

But when I test it on my Windows 7 machine with .Net 4 Client Profile and .Net 4 Extended this line throws the error:

The current SynchronizationContext may not be used as a TaskScheduler

My project is Targeting .Net 4 so I'm unsure as to why this is happening? Is there a work around for this issue?

JKennedy
  • 18,150
  • 17
  • 114
  • 198

0 Answers0