Nuget package acting up
I get this error code when im trying to use it, any help?
Severity Code Description Project File Line Suppression State
Error Could not install package 'Divert.Windows 2.2.1-alpha3'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.7.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
2 Replies
Divert.Windows is a package that support at minimum .NET 6
you are including it in a project in .NET Framework 4.7.2
You can see the framework compatibility table here:
https://www.nuget.org/packages/Divert.Windows/2.2.1-alpha3#supportedframeworks-body-tab
Divert.Windows 2.2.1-alpha3
WinDivert .NET APIs.