How to exclude / not display .NET Framework packages in Nuget?

I create .NET applications on .NET 4.5.2 or 4.6.2 and do not use .NET Core. When upgrading NuGet packages in Visual Studio 2015, the Updates tab lists dozens of packages that are part of the .NET Framework, such as System.IO and System.Linq.

Is it good to include / store these packages in the package folder, in each VS solutions folder?

Can / should I only use the .NET Framework that has already been installed?

Is there a way to not display these .NET Framework packages on the NuGet VS Updates tab?

Apparently, after upgrading to the latest version of xUnit.NET v2.2.0, NuGet VS starts promoting the 31st update, as shown in this screenshot. But I do not use them.

enter image description here

enter image description here

+5
source share
1 answer

According to Brad Wilson, one of the key contributors to xUnit.NET, "The minimum .NET version required for CLR test blocks for PCs is now .NET 4.5.2." at https://xunit.imtqy.com/releases/2.2

Upgrading a test project from 4.5 to 4.5.2, and then upgrading to xUnit.net 2.2 will not introduce the .net kernel. And my others check out projects that started with 4.5.2 or 4.6.2 before xunit 2.2 never progressed for .net kernel updates.

+2
source

Source: https://habr.com/ru/post/1268377/


All Articles