rca22 / LightGBM.Net

.Net wrapper around the LightGBM library
MIT License
15 stars 4 forks source link

Increase the range of supported .NET Frameworks #8

Open AndreyOrb opened 2 days ago

AndreyOrb commented 2 days ago

I tried to install the package using NuGet and got this error: Could not install package 'LightGBMNet.Tree 1.0.22'. 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.

Probably that comes from LightGBMNet.Tree.csproj from net7.0-windows

Unfortunately, I must comply with a bigger project requirements. So, switching to .NET 7 is not an option.

Is there any problem with using the code in .NET v4.7.2? If no, what would be the best way to integrate the code in my project? Copying it and adjusting the TargetFramework?

Is there a way to relax the TargetFramework version requirements to support older version?