Skip to content

Windows platform in MAUI: Operation is not valid due to the current state of the object #151

@erossini

Description

@erossini

Hi,
I'm using your component in NET 8 MAUI and it is working fine for all the platforms. Now, I started a new project with NET 9 MAUI and copied the class to connect to the APIs. I use the MonkeyCache.FileStore. In the Windows application, when I try to save or clean the cache for example using this command

Barrel.Current.EmptyExpired();

I get an error

System.InvalidOperationException: 'Operation is not valid due to the current state of the object.'

Image

Is there any particular configuration to use for Windows?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions