rpgkaiser / FoolProof.Core

Migration to asp.net core of the "MVC Foolproof Validation" library.
MIT License
53 stars 17 forks source link

FoolProof requires obsolete .NET Core 2.x components to build #45

Open nmg196 opened 2 months ago

nmg196 commented 2 months ago

I've noticed FoolProof requires obsolete .NET 2 packages to build. Is there a way the dependency on these could be removed?

Specifically, it references and uses the Microsoft.AspNetCore.Mvc.DataAnnotations package (deprecated) and doesn't build if this package is excluded:

image

Thanks, Nick

rpgkaiser commented 1 month ago

Hi @nmg196, Yep, unfortunately, for .Net Classic and .Net Standard 2.0 that package is required. If you really need to get rid of this dependency, you should consider migrating your project to .Net 6 or .Net 7.

rpgkaiser commented 1 month ago

By the way, I'm planning to remove the support for .Net Classic and .Net Standard in the next release.

nmg196 commented 1 month ago

I'm using .NET 8 so the dependency exists only inside FoolProof for me. I guess it will disappear at somepoint then.

rpgkaiser commented 1 month ago

Oh, you are using .NET 8. Well, FoolProof.Core is not yet updated to target .NET 8, so I guess the issue must be related with that. I'm working now in a new version and that will be resolved soon.

rpgkaiser commented 1 month ago

Hi @nmg196. A new version was released. This issue should be resolved with this new version.

rpgkaiser commented 2 weeks ago

Hi @nmg196, could you please verify this issue was fixed?