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
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