title: Use "Microsoft.AspNetCore.Routing" (6.0.x) in base library project
body: <p>My goal is a base library that will be used by multiple other service APIs. In .NET 6, your web apps that use <code>SDK=&quot;Microsoft.NET.SDK.Web&quot;</code> require an 'entry point' (i.e. static main method, or Program.cs). A base library doesn't need an entry point, so I instead set the <code>SDK=&quot;Microsoft.NET.SDK&quot;</code>.</p>
  <p>Next, I need access to &quot;Microsoft.AspNetCore.Routing&quot; (6.0.x). NuGet only has up to version 2.x.x. Version 6.x.x seems to only be available as part of the Microsoft.AspNetCore.App.Ref package. However, it states on nuget that this is not for direct package references.</p>
  <p>I can't change my SDK because my library needs an entry point, and I can't get a version of Routing that matches .NET 6.</p>
  <p>How do I get access to Routing in a base library?</p>