I have a normal class library (not a .NET Core/Standard library) that uses Entity Framework Core.

After installing it I noticed it seems to pull in a whole bunch of NuGet packages I absolutely shouldn't need to be depending on. My library has nothing to do with ASP.NET, and yet because I want to use EF, it appears I have to have dependencies on parts of ASP.NET.

Will EF Core run correctly if I remove these? I'm concerned that if my library is used by an ASP.NET application that these dependencies are going to cause problems.