简体   繁体   中英

.NET Framework dependency in a .NET Core application

在此处输入图片说明

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM