232 questions
-7
votes
0
answers
82
views
Whenever I try to compile my MAUI project I get CS0246 Error
I'm trying to build a three piece Streaming Project in which I need to build an API that is already working, a Java App for Android that I haven't even started and this .NET MAUI using C# that is ...
0
votes
0
answers
41
views
How to reference native C++ DLL in a .NET MAUI project?
In my .NET MAUI project, I need to use a native interop DLL. Following an example on the Internet, I defined the following in my .csproj file:
<ItemGroup Condition="'$(RuntimeIdentifier)' == ...
2
votes
1
answer
169
views
determine default browser setting in a WinUI app in Windows11
I followed several hints on how to get the "default browser" in windows, but they all are how to read the registry path from Current.User:
Software\Microsoft\Windows\Shell\Associations\...
0
votes
0
answers
88
views
Failed to Build .NET 9 MAUI Blazor Hybrid APK (Worked in .NET 8)
I’m working on a .NET MAUI Blazor Hybrid app and trying to generate an APK using the following command:
dotnet publish -f net9.0-android -c Release -p:AndroidPackageFormat=apk
My solution contains ...
2
votes
1
answer
92
views
Random .NET MAUI COMException NavigationFailed was unhandled on Navigation
we are experiencing random crashes in a WinUI/Windows .NET MAUI Application (.net 8) which seems to be happening randomly on navigation back to the main page. It is hard to reproduce since it only ...
1
vote
1
answer
94
views
FilePicker.PickMultipleAsync on wrong thread
The docs state to call all methods of FilePicker on the ui-thread, so I made the following call:
await MainThread.InvokeOnMainThreadAsync(async () =>
{
IEnumerable<FileResult> images = ...
0
votes
1
answer
201
views
build installation wizard with inno setup for .net maui blazor hybrid apps? [duplicate]
I'm make an installation wizard for my maui app with inno setup and am very close to complete it except for this problem after the app is installed and lunched the window is empty
the image of the ...
2
votes
1
answer
112
views
MAUI Data Load Freezes UI
we have MAUI app which manages some tasks on the Machines in the network. Basically it has two main pages, Tasks and Machine.
We are encoutering a problem:
When selecting task, it must display ...
0
votes
0
answers
35
views
How can I force my own app to release a lock over its SQLite DB file?
I am working on a MAUI application which uses sqlite-net-pcl as its ORM. When I try to delete the DB file from the app (System.IO.File.Delete(dbFilePath)) I get the following exception on Windows: ...
1
vote
2
answers
113
views
Net Maui - How to chenge padding value of DatePicker control
I need to remove or change the padding value of the DatePicker control. I understand that I need to use handlers, as I have successfully done for the Entry control. However, while it works perfectly ...
0
votes
1
answer
120
views
How do I set the click zone for non-rectangular shapes in MAUI?
I'm trying to create various shapes to display rooms (for example, a top view) and it doesn't work. For trapezoid-type shapes, the click area is also square, which creates the wrong behavior. How to ...
0
votes
1
answer
234
views
Toolkit popup accessibilty Issue using keyboard in .NET MAUI
I am using the MVVM Toolkit Popup in a .NET MAUI desktop application. The popup is triggered on a button click and displays a notification message along with two buttons: "OK" and "...
0
votes
1
answer
440
views
.Net MAUI windows app crashes with Faulting module name: Microsoft.ui.xaml.dll, version: 3.1.5.0
Our app works fine in android and iOS. Windows app works fine in Debug mode, but getting crahed in Release mode with Faulting module name: Microsoft.ui.xaml.dll, version: 3.1.5.0
Below is the Event ...
0
votes
1
answer
376
views
Grid doesn't respect Auto in a column in MAUI.NET with .NET 8
I have created a MAUI .NET with .NET 8. I cannot use the 9 since the camera lib doesn't work yet for it. This is how it's behaving:
Incorrect layout:
"Expected" layout:
This is how I ...
1
vote
0
answers
73
views
How to hide virtual keyboard for Windows
I'm developing a Windows app with MAUI for Windows Surface tablets. I have entries that must not show soft keyboard at all. I tried all the options from this post Need a way to hide soft keyboard in ...
0
votes
0
answers
53
views
Windows MAUI not showing images after upgrade
After a few days without working on a MAUI app, I returned to it today only to have it blow up on my face.
Loudly.
After a few searches online (described here), I was able to make it work again.
Sort ...
0
votes
1
answer
67
views
How do you get a button to appear under a ScrollView on Windows?
We have a layout such that a submit button correctly appears on the bottom left on Android, but when trying to launch the app in Windows, the button no longer shows up no matter how big the windows is....
0
votes
0
answers
117
views
Build Maui Windows stage gets error NETSDK1018: Invalid NuGet version string
I have a Maui application that builds fine on local machine (Release or Debug) but when push to GitHub repo and then the Azure pipeline runs. The windows stage build step fails with the following ...
0
votes
0
answers
240
views
Can't build the MAUI Project for Android, IOS and Mac Os on Windows
I try to build the MAUI project. However, I encounter the following errors.
Error NETSDK1178 : The project depends on the following workload packs that do not exist in any of the workloads available ...
0
votes
1
answer
77
views
Rendering elements in a CollectionView that is within a custom element
I'm currently trying to create a custom CollectionView element that has the first row frozen, so the user can see the first entry when scrolling down. After some trial and error, I concluded that the ...
0
votes
0
answers
118
views
MAUI Application WinUI3 Windows window default title bar does not change with text size
I’m working on a MAUI application for Windows and I’m trying to set the top padding of a UI element so it does not overlap the titlebar. I’ve written a function to calculate the required padding on ...
0
votes
1
answer
403
views
How to set popup placement target on bottom using MAUI XAML C# .Net 8.0 [duplicate]
How to set popup placement target on bottom? Please see this screenshot.
I want to place the popup on bottom. I have click on three dots on grid header control, but I can not set popup position exact ...
0
votes
1
answer
479
views
Change the background color of AppShell buttons in .NET 8 MAUI
I would like to know how to change the background color of the AppShell menu buttons.
Is there a property I could use?
Is there a template that I could customize? like this :
(App.xaml of Platforms\...
-1
votes
1
answer
477
views
How hide MAUI window?
can you tell me if it is possible to hide the window in MAUI? For example, I want the window containing the MainPage to be hidden when launching the application and a second window for authorization ...
1
vote
1
answer
233
views
.NET MAUI Windows 9.0 Preview 5 on Windows/WinUI 3 crashes when using SwapChainPanel via SkiaSharp after a while
The Problem
We are using .NET MAUI 9.0 Preview 5, .NET SDK 9.0 Preview 5, and SkiaSharp 3.0 Preview 3.1 in our game, GnollHack. SKGLView of SkiaSharp uses SwapChainPanel to render GPU accelerated ...