title: How to consume a .net4.7 app from .net core 2.0
body: <p>I have a .net core test app that's referencing a .net framework 4.7.1 project. I've updated the project file of the .net core project so that it looks like this...</p>
  
  <pre><code>&lt;Project Sdk="Microsoft.NET.Sdk"&gt;
  
    &lt;PropertyGroup&gt;
      &lt;TargetFramework&gt;net471&lt;/TargetFramework&gt;
  
      &lt;IsPackable&gt;false&lt;/IsPackable&gt;
    &lt;/PropertyGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;PackageReference Include="Microsoft.Extensions.Configuration" Version="2.0.0" /&gt;
      &lt;PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0-preview-20170628-02" /&gt;
      &lt;PackageReference Include="xunit" Version="2.2.0" /&gt;
      &lt;PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" /&gt;
    &lt;/ItemGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;ProjectReference Include="..\PushNotifications\PushNotifications.csproj" /&gt;
    &lt;/ItemGroup&gt;
  
  &lt;/Project&gt;
  </code></pre>
  
  <p>When I debug a test, I get..</p>
  
  <blockquote>
    <p>Catastrophic failure: System.TypeInitializationException: The type
    initializer for 'Xunit.DiaSession' threw an exception. --->
    System.IO.FileNotFoundException: Could not load file or assembly
    'System.Reflection.TypeExtensions, Version=4.1.0.0, Culture=neutral,
    PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The
    system cannot find the file specified.</p>
  </blockquote>
  
  <p>Adding System.Reflection.TypeExtensions to either project has no effect.</p>
  
  <p>What else do I need to do?</p>