How to manage project dependency per Project Type

I am working on a small nuget package (MakeNot). In short, I added some Extention Methods for String,Bool and also ModelStateDictionary.
In order to have access to ModelStateDictionary I should have installed below package which has its own dependency.


and I set TargetFramework like below in order to let applications based on .Net Framework to use it:


My question is, when I want to use this package in Windows form application it downloads Microsoft.AspNetCore.Mvc.Abstractions and its dependency which is not required for this type of projects.
enter image description here

Is there a way to handle this ? or Have I done it right ?

Go to Source
Author: osman Rahimi