Recently, I've read about Use the ASP.NET Core shared framework and I'm wondering:
- How is it working under the hood?
- Are there any drawbacks or caveats that I should take into account when adding
<FrameworkReference Include="Microsoft.AspNetCore.App" />?
For example, I'd created a simple console application and published it with self-hosted options. The output size was on 20mb greater with <FrameworkReference Include="Microsoft.AspNetCore.App" / even If I don't explicitly use any of Microsoft.AspNetCore packages