title: Microsoft.Threading.Tasks not found
body: <p>I have made a dll that wraps around some Google operations. With my first test drive it worked perfectly, but now in a real program, I get a weird assembly reference problem:</p>
  
  <pre><code>FileNotFoundException was unhandled
  Could not load file or assembly 'Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Det går inte att hitta filen.
  </code></pre>
  
  <p>I have heard of System.Threading.Tasks (and am "using" it), but where does Microsoft.Threading.Tasks come in? The exception occurs at the last row of the snippet below.</p>
  
  <pre><code>Google.Apis.Admin.Directory.directory_v1.Data.Groups allGroupsResp = null;
  var req = DirectoryService.Groups.List();
  req.Domain = _settings.Domain;
  allGroupsResp = req.Execute();
  </code></pre>
  
  <p>And there is no Microsoft.Threading.Tasks in the assembly list.</p>