Hi. I’m developing the NeutrinoParticles project that makes particle effects on different platforms including MonoGame.
For MonoGame I have a renderer library, that basically was unified for OpenGL and DirectX. This library is published at NuGet as NeutrinoParticles.MonoGame. And before it has a dependency on MonoGame.Framework.Portable, which allowed it to be a unified library for DirectX and OpenGL.
During the latest upgrade to .NET 6.0 I found the Portable package is obsolete. So my question is, how do I correctly make a cross-platform library for MonoGame (at least DX & GL)?
In Visual Studio, I found a template for MonoGame Game Library which is considered to be a cross-platform library, but it has a dependency on MonoGame.Framework.DesktopGL that doesn’t work with DirectX.