Uno.Geometry error

I’ve been using Uno.Geometry to check users clicks. Worked fine with 1.6, but doesn’t work anymore in 1.8.1

I’m getting following error:
C:\Users\simppafi\AppData\Local\Fusetools\Packages\Uno.Geometry\1.0.1\curves$.uno(7): E3111: Uno.Content does not contain type or namespace ‘Models’. Could you be missing a package reference?

Uno.Content.Models was removed in Fuse 1.7.0: https://www.fusetools.com/downloads/1.7.0.15432#uno

It was already marked as Obsolete a long time ago.

Seems like you’re using an ancient version of Uno.Geometry. That package was removed in Fuse 1.1, although I strangely enough can’t find a changelog-entry for it.

Anyway, I think you might want to use Fuse.Entities instead: https://github.com/fusetools/Fuse.Entities

This should contain most of this functionality still.

Thanks, yeah that fixed this area of errors for me. :slight_smile:

I got my project working on preview, but got the following error when exporting to Android:
FuseEntities\Scene.uno(9.24): E3105: Fuse.Platform does not contain type or namespace ‘SystemUI’. Could you be missing a package reference?

Any idea where this SystemUI class might be nowadays?

It seems
public event Uno.EventHandler WindowResized
{
add { Uno.Application.Current.Window.Resized += value; }
remove { Uno.Application.Current.Window.Resized -= value; }
}

Works just fine and I don’t need the mobile version of the functionality that was written in Fuse.Entities.Scene.uno:

public event Uno.EventHandler WindowResized
{
add { Fuse.Platform.SystemUI.FrameChanged += value; }
remove { Fuse.Platform.SystemUI.FrameChanged -= value; }
}