title: NuGet package for ASP.NET Core 5 MVC
body: <p>What NuGet package should I be using to access the Twilio API from my ASP.NET Core MVC 5.0 project?</p>
  <p>My ASP.NET Core project file targets net5.0. I include the <code>Twilio.AspNet.Mvc</code> NuGet package (latest version).</p>
  <p>When my project builds, I get a bunch of warnings telling me that something is pulling in obsolete versions of Microsoft assemblies.</p>
  <p>For example:</p>
  <blockquote>
  <p>Warning NU1701 Package 'Microsoft.AspNet.Mvc 3.0.20105.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework 'net5.0'. This package may not be fully compatible with your project.</p>
  </blockquote>
  <p>After a bit of sleuthing, it appears that the problem is because <code>Twilio.AspNet.Mvc</code> (v5.37.2) pulls in, among other things, <code>Microsoft.AspNet.Mvc</code> (v3.0.20105.1).</p>
  <p>That package has a warning:</p>
  <blockquote>
  <p>Package 'Twilio.AspNet.Mvc 5.37.2' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework 'net5.0'. This package may not be fully compatible with your project.</p>
  </blockquote>
  <p>I tried removing and reinstalling the Twilio package, but that didn't help.</p>