C# .NET - Question on System.Threading - Asked By Mitu N on 22-Apr-15 11:08 PM

In my C#.Net 4.0 project,am getting below build error even after adding C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Threading\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Threading.dll in the project.
Please advise on resolving this.

Error 256 The type 'System.Threading.Tasks.Task`1<T0>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Threading, Version=1.0.2838.102, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. C:\MyProject\TestChecker.cs 88 17
Robbe Morris replied to Mitu N on 22-Apr-15 11:08 PM
It "appears" to have a dependency on another dll.  Try going tools | options | projects and solutions | build and run | set both verbosities to Detailed. Try the build again.  This should tell you exactly what it is after and where.