ServiceStack.Mvc and dependencies

I love the idea of using Razor (smart razor pages or just using the razor format) with Servicestack like the script pages but it has a dependency on Microsoft.AspNetCore.Mvc which brings in over 20 dependencies. I know the Service Stack library has some integrations to help with controllers/etc but if all one wants is the Smart MVC Razor Pages can that be reduced to only Microsoft.AspNetCore.Mvc.Razor which only has one other dependency? Before opening a feature request I just wanted to get opinions.

It’s not possible, ServiceStack.Razor is built upon Mvc so requires MVC’s dependencies defined in ServiceStack.Mvc.csproj i.e:

  <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
    <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc.Razor" Version="2.2.0" />
  </ItemGroup>

  <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.1' ">
    <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc.Core " Version="2.2.5" />
  </ItemGroup>