Skip to content

System.Threading and .NET 3.5 SP1

by Cory Foy on November 13th, 2008

If you are getting any of these types of exceptions compiling code:

  • error CS1501: No overload for method ‘WaitOne’ takes ’1′ arguments
  • error CS1501: No overload for method ‘WaitAny’ takes ’2′ arguments
  • error CS1501: No overload for method ‘WaitAll’ takes ’2′ arguments

Then you are trying to compile code with .NET 3.5 that someone has written using .NET 3.5 SP1. And there ya go.

From → Uncategorized

5 Comments
  1. Anonymous permalink

    thanks, your tip fixed the exact same issue I was having :-)

  2. Anonymous permalink

    Thanks that helped.

  3. Anonymous permalink

    my hero

  4. great, but what is the workaround for this? i mean if i have a dll with 3.5 sp1 created that i have to have compile into 3.5 now i can do to avoid this problem?

  5. Hi Rahul,

    There isn’t much you can do but recompile. It would be no different than having a 3.5 dll you need to work on a 2.0 system. You either need your user to upgrade to 3.5SP1, or recompile without SP1.

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS