Skip to content

Compatibility issues of Prism. Avalonia on the Avalonia browser platform #235

@MyUi-Group

Description

@MyUi-Group

Prism. Avalonia runs on the Avalonia. browser platform, and there are no issues with local debugging. However, after publishing Avalonia. browser, running the website produces an error message Uncaught ManagedError: AggregateException_ctor_DefaultMessage (code: Error.UnableToSelectSinglePublicConstructorFromNone;
message: Unable to select a single public constructor from the implementation type 'Prism.Ioc.Internals.ContainerProviderLocator' because the type does not have public constructors.)
I speculate that pruning was done during release, which caused Prism to use reflection errors. I don't know how to optimize it because disabling pruning would lower performance

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneeds-infoFurther information is requestedneeds-reviewedItem needs reviewed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions