Skip to content

UWP / MAUI WinUI3 - Offline persistence issue - Cant find the assembly even though its included #654

@pradeep-pappu

Description

@pradeep-pappu

Describe the bug
Target: In MAUI, when targeted to run on Windows.
Setup: Enable offline persistence is true and Rollbar.OfflinePersistence nuget is added as a dependency.
Error: To enable offline persistence, you must provide the package 'Rollbar.OfflinePersistence' as a dependency of your project, so the Rollbar.OfflinePersistence.dll is available.

To Reproduce
Steps to reproduce the behavior:
Please follow the above description.

Expected behavior
Should honour the offline persistence.
PayloadStoreRepositoryHelper.CreatePayloadStoreRepository - should be updated to use the AppDomain.CurrentDomain.GetAssemblies()

Rollbar Client - Rollbar.NET Hosting Environment (please complete the following information):

  • Rollbar.NET Host type: Mobile app - MAUI
  • OS and its version: Windows
  • .NET flavor and its version: .NET Framework (8.0)
  • Application framework and its version: MAUI
  • Rollbar.NET Version: 5.2.2
  • Applicable Rollbar Plug-in (if any): Rollbar.OfflinePersistence (5.2.2)
  • Applicable custom third party logging library/framework integration (if any):
  • Applicable Browser (if any):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions