title: Is it possible to use Entity Framework Core in a Win Forms Application? / References Not Found Warnings
body: <p>I am attempting to use Entity Framework Core in a Windows Forms application. No other code has been written, this is all just initial project setup.</p>
  
  <p>I am receiving the following warnings after setting up a windows forms application in .net framework 4.6.2 and using the NuGet manager to install Microsoft.EntityFrameworkCore.SqlServer and Microsoft.EntityFrameworkCore.Tools: </p>
  
  <pre><code>Warning     The referenced component 'Microsoft.Extensions.Configuration.Abstractions' could not be found.  
  Warning     The referenced component 'Microsoft.Extensions.DependencyInjection.Abstractions' could not be found.    
  
  </code></pre>
  
  <p>Along with the two yellow warning symbols on the related references themselves. This causes the Scaffold-DbContext to fail with: </p>
  
  <pre><code>Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The system cannot find the file specified.
  </code></pre>
  
  <p>I have already tried to edit the .csproj by adding:</p>
  
  <pre><code>&lt;PropertyGroup&gt;
    &lt;AutoGenerateBindingRedirects&gt;true&lt;/AutoGenerateBindingRedirects&gt;
    &lt;GenerateBindingRedirectsOutputType&gt;true&lt;/GenerateBindingRedirectsOutputType&gt;
  &lt;/PropertyGroup&gt;
  </code></pre>
  
  <p>And I tried changing around the Framework &amp; Entity versions but I keep running into the same problems with the same references. I found the .dll's in the packages directory and tried to add them manually but that changed nothing.</p>
  
  <p>Is this even possible to do?</p>