title: Could not load System.Web.Cors in Owin Startup.cs
body: <p>I have a .Net 4.5.1 application using Web API 2 and running in my local Azure Emulator. I have some OWIN components installed and in my Startup.cs file within the Configuration(IAppBuilder app) function I have the following code block and the last line causes an exception:</p>
  
  <pre><code>HttpConfiguration httpConfiguration = new HttpConfiguration();
  WebApiConfig.Register(httpConfiguration);
  app.UseWebApi(httpConfiguration);
  app.UseCors(Microsoft.Owin.Cors.CorsOptions.AllowAll);
  </code></pre>
  
  <p>This line is causing an exception "Could not load file or assembly 'System.Web.Cors, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies."</p>
  
  <p>I'm having trouble figuring out why NuGet didnt' install this if it is a dependency. Additionally I'm not able to find a corresponding dll already installed to add a reference myself, nor the correct NuGet package to install to provide said dll.</p>
  
  <p>Has anyone experienced a similar issue? If so, perhaps you could point me in the right direction.</p>