You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Exception thrown on .NET 10 Windows when calling Permissions.CheckStatusAsync<Permissions.Microphone>() #32989
On Windows when targeting .NET 10, an exception is thrown when checking the microphone permission. It's trying to open the AppxManifest file but I don't know why. This doesn't happen when targeting .NET 9.
Steps to Reproduce
Create a new .NET 10 MAUI project
Set the debug target to Windows
Write the following code (call it anytime after the MainPage InitializeComponent();) and set a breakpoint on the catch
try
{
var status = await Permissions.CheckStatusAsync<Permissions.Microphone>();
//.NET 9: status == "Granted"
}
catch (Exception ex)
{
//.NET 10: Throws error: Could not find file 'C:\...\bin\Debug\net10.0-windows10.0.19041.0\win-x64\AppxManifest.xml'.
}
F5. Notice the exception thrown. This does not happen when targeting .NET 9.
This issue has been verified in Visual Studio 18.0.0 with MAUI Versions 9.0.0, 9.0.120, 10.0.0.preview.1, 10.0.0.0-rc.1, 10.0.0-rc2, 10.0.0, 10.0.10 & 10.0.11 . It can be reproduced from .10.0.0-rc.2 on Windows platform.
Activity
LogishaSelvarajSF4525 commentedon Dec 4, 2025
This issue has been verified in Visual Studio 18.0.0 with MAUI Versions 9.0.0, 9.0.120, 10.0.0.preview.1, 10.0.0.0-rc.1, 10.0.0-rc2, 10.0.0, 10.0.10 & 10.0.11 . It can be reproduced from .10.0.0-rc.2 on Windows platform.
TriageApp.zip
[Regression][Windows]Fix Exception thrown on .NET 10 Windows when cal…
[Regression][Windows]Fix Exception thrown on .NET 10 Windows when cal…
[Regression][Windows]Fix Exception thrown on .NET 10 Windows when cal…
[Regression][Windows]Fix Exception thrown on .NET 10 Windows when cal…
March 30th, Inflight Candidate (dotnet#34617)