.NET Framework dependency in a .NET Core application

Viewed 539

enter image description here

I have an ASP.NET Core MVC web application. Some packages in NuGet have a dependency on the .NET Framework.

I am a bit confused about dependency on .NET Framework in a .NET Core application, because .NET Core is cross-platform.

What does it mean? Does it mean the .NET Framework should be installed?

1 Answers

You're completely misinterpreting this information.

It just means:

IF your code using Moq is running on .NET Framework >= v4.5

THEN Moq would have dependencies on the two other package listed.

But since you're using .NET Core, the dependencies in the ".NETStandard >= 2.0" section apply to your project.

Related