title: Active Directory Authentication Library (ADAL) won't install Visual Studio 2013 .NET v4
body: <p>I am trying to follow along with this tutorial from Microsoft, <a href="https://dev.outlook.com/restapi/tutorial/dotnet" rel="nofollow noreferrer">https://dev.outlook.com/restapi/tutorial/dotnet</a>, to use the Outlook REST API's with an app I'm building on Visual Studio 2013. I am using the .NET framework v4.</p>
  
  <p>I am stuck on step 4. Implementing OAuth2. Specifically I am unable to install the Active Directory Authentication Library (ADAL) in NuGet Package Manager.</p>
  
  <p>Originally, I tried to install the Active Directory Authentication Library (ADAL) on VS 2012, but soon discovered after consulting Stackoverflow that 2012 is not compatible with the REST API's. In the NuGet Package Manager Console I entered this line of code:</p>
  
  <pre><code>Install-Package Microsoft.Experimental.IdentityModel.Clients.ActiveDirectory -Version 4.0.208020147-alpha -Pre
  </code></pre>
  
  <p>And got this error:</p>
  
  <p><a href="https://i.stack.imgur.com/TgrPW.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TgrPW.jpg" alt="first error message"></a>
  <a href="http://i66.tinypic.com/w1rb0y.jpg" rel="nofollow noreferrer">http://i66.tinypic.com/w1rb0y.jpg</a></p>
  
  <p>So then I upgraded to VS 2013, installed the latest update (5), installed Microsoft Office 365 Development Tools, Microsoft ASP.NET and Web Tools, and updated NuGet. Again, in the NuGet Package Manager Console I entered this line of code:</p>
  
  <pre><code>Install-Package Microsoft.Experimental.IdentityModel.Clients.ActiveDirectory -Version 4.0.208020147-alpha -Pre
  </code></pre>
  
  <p>But then I got this near identical error:</p>
  
  <p><a href="https://i.stack.imgur.com/hXkDW.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hXkDW.jpg" alt="second error message"></a>
  <a href="http://i65.tinypic.com/2lclf6a.jpg" rel="nofollow noreferrer">http://i65.tinypic.com/2lclf6a.jpg</a></p>
  
  <p>I thought that after installing a newer version of Visual Basic, I wouldn't get the same error. But not so.</p>
  
  <p>I checked in my registry, and I have .NET framework versions 2-4 installed. I assume, because I didn't see the FULL folder. Is the ADAL not compatible with versions 1-4? Do I need to install v4.5? Is there something else going on?</p>
  
  <p>*Update: I just tried to download .Net framework 4.5 but a popup said it or a more recent version is already installed.</p>
  
  <p>*Update: I just tried to install the more recent verion of the ADAL</p>
  
  <pre><code>Install-Package Microsoft.Experimental.IdentityModel.Clients.ActiveDirectory -Pre
  </code></pre>
  
  <p>but I got the same errors as before.</p>