UI_Engines icon indicating copy to clipboard operation
UI_Engines copied to clipboard

Cant reference Base EmptyKeysUI Nuget due to no target frameworks

Open Doprez opened this issue 10 months ago • 4 comments

Issue

Hello, I cant reference the EmptyKeysUI package because it does not have any framework targets. Would it be possible to publish the package with the netstandard targets?

Work around

I am using Stride which may be part of the problem but a work around is just to reference the Monogame nuget which includes the base package compiled with the standard target. Only issue here is that naming between XNA and Stride get annoying with how similar the libraries are but it does work.

Extra context

It may also work if the Stride package is added to Nuget with your build process I assume but that may not work for people who are using a different engine.

Doprez avatar Jun 02 '25 02:06 Doprez

Thinking on this more, it would be better for Stride if we could reference the base EmptyKeys package ourselves. Since Stride has a somewhat annoying issue where the versions must match or else the Stride Asset compiler can throw random errors.

What I'm thinking instead of hosting this here, I could add the needed abstractions in the Stride Community Toolkit which follows the released Stride versions very closely already.

Let me know what you think. Either way will work in the end, it will just force some extra thinking on the Stride side.

Doprez avatar Jun 02 '25 17:06 Doprez

All nugets have targets. The one above is actually very old. Monogame one is the most new.

https://www.nuget.org/packages/EmptyKeysUI_MonoGame

EmptyKeys avatar Jun 05 '25 18:06 EmptyKeys

plus generator here https://www.nuget.org/packages/EmptyKeysUI_Generator

EmptyKeys avatar Jun 05 '25 18:06 EmptyKeys

Monogame is my current work around since I need something that is netstandard for it to work with .NET 8+. Is there a way that there could be a package that is set up the same as the Monogame package but without Monogame itself?

Doprez avatar Jun 05 '25 18:06 Doprez