I am using a NuGet package (as you requested), but when I added it, it included 2 other packages (AspNetRazor.Core and AspNetWebPages.Core).

The question is, should I leave those two lines in the packages.config, or remove them ?