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
I'm running/debugging on a Mac and I'm having a problem (compiles fine):
2025-03-19 10:02:24.895 GitLabCICDNotice.Desktop.Mac[98062:6628070]
Unhandled Exception:
System.InvalidOperationException: No windowing system configured.
at Avalonia.AppBuilder.Setup()
at Avalonia.AppBuilder.SetupWithLifetime(IApplicationLifetime lifetime)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, Action`1 lifetimeBuilder)
at GitLabCICDNotice.Desktop.Mac.Program.Main(String[] args) in /Users/violetve/Desktop/Work/Violet-VE.com/JiuZhouUniverse/GitLabCICDNotice/GitLabCICDNotice.Desktop.Mac/Program.cs:line 12
2025-03-19 10:02:24.895 GitLabCICDNotice.Desktop.Mac[98062:6628070] Unhandled managed exception: No windowing system configured. (System.InvalidOperationException)
at Avalonia.AppBuilder.Setup()
at Avalonia.AppBuilder.SetupWithLifetime(IApplicationLifetime lifetime)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, Action`1 lifetimeBuilder)
at GitLabCICDNotice.Desktop.Mac.Program.Main(String[] args) in /Users/violetve/Desktop/Work/Violet-VE.com/JiuZhouUniverse/GitLabCICDNotice/GitLabCICDNotice.Desktop.Mac/Program.cs:line 12
After investigating, I found out that it is because the pass parameter Action of UseWindowingSubsystem is null in the final save, which causes StartWithClassicDesktopLifetime to report an error, I would like to know how to fix it, and when you guys can fix it.
Since I had the classic XAPRAS7023 problem with 11.2.5, I upgraded the version to fix it!
But the No windowing system configured issue occurs with version 11.2.2 and 11.3.x doubt all versions have this issue.
Translated with DeepL.com (free version)
To Reproduce
Click Run/Debug directly
Expected behavior
Expected: Normal operation
Now: reporting errors
Avalonia version
11.3.999-cibuild0055603-alpha
OS
macOS
Additional context
2025-03-19 10:02:24.895 GitLabCICDNotice.Desktop.Mac[98062:6628070]
Unhandled Exception:
System.InvalidOperationException: No windowing system configured.
at Avalonia.AppBuilder.Setup()
at Avalonia.AppBuilder.SetupWithLifetime(IApplicationLifetime lifetime)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, Action1 lifetimeBuilder) at GitLabCICDNotice.Desktop.Mac.Program.Main(String[] args) in /Users/violetve/Desktop/Work/Violet-VE.com/JiuZhouUniverse/GitLabCICDNotice/GitLabCICDNotice.Desktop.Mac/Program.cs:line 12 2025-03-19 10:02:24.895 GitLabCICDNotice.Desktop.Mac[98062:6628070] Unhandled managed exception: No windowing system configured. (System.InvalidOperationException) at Avalonia.AppBuilder.Setup() at Avalonia.AppBuilder.SetupWithLifetime(IApplicationLifetime lifetime) at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, Action1 lifetimeBuilder)
at GitLabCICDNotice.Desktop.Mac.Program.Main(String[] args) in /Users/violetve/Desktop/Work/Violet-VE.com/JiuZhouUniverse/GitLabCICDNotice/GitLabCICDNotice.Desktop.Mac/Program.cs:line 12
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm running/debugging on a Mac and I'm having a problem (compiles fine):
After investigating, I found out that it is because the pass parameter Action of UseWindowingSubsystem is null in the final save, which causes StartWithClassicDesktopLifetime to report an error, I would like to know how to fix it, and when you guys can fix it.
I'm experiencing this problem because I need to use native desktop notifications on a mac, my code repository is located at: https://github.com/Violet-VE/GitLabCICDNotice.Avalonia
The project reporting the error is: GitLabCICDNotice.Desktop.Mac
Device:
IDE:
Avalonia Version:
Since I had the classic XAPRAS7023 problem with 11.2.5, I upgraded the version to fix it!
But the
No windowing system configured
issue occurs with version 11.2.2 and 11.3.x doubt all versions have this issue.Translated with DeepL.com (free version)
To Reproduce
Click Run/Debug directly
Expected behavior
Expected: Normal operation
Now: reporting errors
Avalonia version
11.3.999-cibuild0055603-alpha
OS
macOS
Additional context
2025-03-19 10:02:24.895 GitLabCICDNotice.Desktop.Mac[98062:6628070]
Unhandled Exception:
System.InvalidOperationException: No windowing system configured.
at Avalonia.AppBuilder.Setup()
at Avalonia.AppBuilder.SetupWithLifetime(IApplicationLifetime lifetime)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, Action
1 lifetimeBuilder) at GitLabCICDNotice.Desktop.Mac.Program.Main(String[] args) in /Users/violetve/Desktop/Work/Violet-VE.com/JiuZhouUniverse/GitLabCICDNotice/GitLabCICDNotice.Desktop.Mac/Program.cs:line 12 2025-03-19 10:02:24.895 GitLabCICDNotice.Desktop.Mac[98062:6628070] Unhandled managed exception: No windowing system configured. (System.InvalidOperationException) at Avalonia.AppBuilder.Setup() at Avalonia.AppBuilder.SetupWithLifetime(IApplicationLifetime lifetime) at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, Action
1 lifetimeBuilder)at GitLabCICDNotice.Desktop.Mac.Program.Main(String[] args) in /Users/violetve/Desktop/Work/Violet-VE.com/JiuZhouUniverse/GitLabCICDNotice/GitLabCICDNotice.Desktop.Mac/Program.cs:line 12
The text was updated successfully, but these errors were encountered: