Monogame on VS2022

Today I started migration from Monogame 3.7 to 3.8.1 and from VS2017 to VS2022, I got stuck with one problem in VS2022, as far as I understood references has been deprecated and it is packages now.
So my problem now is that I created a new DLL as NetCore 2.0 and using a dependency on Monogame.Framework.DesktopGL(3.8.1.303) by using Nuget, but I get error that Microsoft.XNA.Framework is missing as an assembly, even if I can see the package 3.8.1 in my DLL. Any ideas what step am I missing?
I am not used to work with Dependencies, I used mainly references in the past but since I want to make sure I can make my game cross platform I decided to move into the new way of doing things.

I think the problem was that I created it as .net core, changing it to .Net Standard solved the issue, any recommendation if you are targeting cross platform?