Skip to content

[BUG] CommunityToolkit sample app crashes opening CameraView page on Windows #3155

@zhitaop

Description

@zhitaop

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

When running the CommunityToolkit.Maui.Sample app on Windows, the app crashes with the following exception after opening the CameraView page:

System.IO.FileNotFoundException: 'Could not find file '{repo-path}\CommunityToolkit-Maui\samples\CommunityToolkit.Maui.Sample\bin\Debug\net10.0-windows10.0.19041.0\win-x64\AppxManifest.xml'.'

Image

Expected Behavior

The app should not crash.

Steps To Reproduce

  1. Run the CommunityToolkit.Maui.Sample app with the latest main branch on Windows
  2. Open the CameraView Page from the Views side menu
  3. Observe the exception and app crashes

Link to public reproduction project repository

https://github.com/CommunityToolkit/Maui/tree/main/samples

Environment

- .NET MAUI CommunityToolkit: v14.0.1
- OS: Windows 11 Enterprise 
- .NET MAUI: 10.0.41

Anything else?

This issue seems to have been introduced by this commit: 9aca2fc

Reverting this commit solves the issue for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions