title: Issues with TokenClient in IdentityModel
body: <p>I have a new MVC project using <strong>TokenClient</strong> from <strong>IdentityModel</strong></p>
  
  <pre><code>var tokenClient = new TokenClient(tokenUrl, clientId, CLIENT_SECRET, null, AuthenticationStyle.BasicAuthentication);
  </code></pre>
  
  <p>I have the nuget package in for <strong>IdentityModel</strong> and everything compiles fine. However, at runtime I get the following error.</p>
  
  <blockquote>
    <p>Method not found: 'Void
    IdentityModel.Client.TokenClient..ctor(System.String, System.String,
    System.String, System.Net.Http.HttpMessageHandler,
    IdentityModel.Client.AuthenticationStyle)'.</p>
  </blockquote>
  
  <p>The .NET version of the MVC project is 4.6.1</p>
  
  <p>What can be causing this issue? I have been searching google and cannot find anything that helps. It must be something simple that i am missing.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>initializing it by declaring the parameters explicitly does not work either.</p>
  
  <pre><code>var tokenClient = new TokenClient(tokenUrl, clientId: clientId, clientSecret: CLIENT_SECRET);// CLIENT_SECRET, null, AuthenticationStyle.BasicAuthentication);
  </code></pre>
  
  <p>However initializing it with the one parameter works fine.</p>
  
  <pre><code>var tokenClient = new TokenClient(tokenUrl);
  </code></pre>