Content
I am using Sqlite and Dapper. I need to bypass an exception error and return an empty row when there are no records in the Table or the Database File or Table does not exist.
Hi all Friends, I am returning rows from a Sqlite/Dapper transaction. And if I run into an exception instead of the application crashing, I would like to return an empty row. Thanks !
Why does a .NET MAUI app, for Windows 10, require the "runFullTrust" capability?
Using Visual Studio 2022 Enterprise 64-bit v17.4.2 on Windows 10 v22H2 64-bit Repro steps. Create a new project, ".NET MAUI App", with the default .NET 6.0 selected as part of the new project wizard Click the run button from the…
Can't Compile MAUI Android on .Net 7.0.400
I can't compile a release version of my android app using the latest SDK, i can compile a debug but this is the error i get: 1>C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.CrossGen.targets(470,5): error : Error:…
Maui for android NavigationBar backgroundColor
Hello all. Please how do I change NavigationBar backgroundColor to color "#ECE5DD" Thank you very much.
Missing class android.window.OnBackInvokedCallback (referenced from: android.window.OnBackInvokedCallback androidx.activity.OnBackPressedDispatcher.mOnBackInvokedCallback and 4 other contexts)
Hello! I am new with dotnet MAUI, still learning while working. I am trying to build my Android Application, I use my physical Device (Android 6.0 API 23). If I Debug or make Release the app is compiling and building without any errors and…
Maui - how to run wpf app with process in mac
Hi, It possible to run WPF app using PROCESS in MAUI under MAC ? Thanks,
Maui - Bit locker in MAC
Hi, I used this code to check if USB is bit locker , how is done in MAC ? Thanks, #if WINDOWS using Microsoft.WindowsAPICodePack.Shell.PropertySystem; using Microsoft.WindowsAPICodePack.Shell; namespace GssdDesktopClient.Maui.Helpers { public class…
Maui - impersonation in MAC
Hi, How i implement in MAC impersonation ? Thanks,
Running MAUI app in MAC
Hi, I have Maui app , i want to run on mac. How is can be done ? There is online machine to run this app. Thanks,
.Net MAUI app unable to run on Windows server 2016 machine
Hi Team, I am working on Visual Studio 2022 on windows server 2016 machine. I have created a new .Net MAUI project, while running it( by selecting windows machine), getting below error - dep0600: deployment failed. entrypointnotfoundexception - unable…
Why does OpenWindow on button click lead to an empty page?
Hello, The default text of my "second page": "Welcome to .NET MAUI!" does not show. Instead, I see a page that is completely empty. What must I do for the default text to show? Here is my code: private void ClkSecond (object sender,…
Future of .NET for Android and .NET for iOS
We've been using Xamarin native (Xamarin.iOS and Xamarin.Android) for about 8 years to build a cross-platform mobile application. With the gradual shift towards .NET for iOS and .NET for Android as replacements for Xamarin.iOS and Xamarin.Android, we're…
App Crashes when I am taking pictures on Android devices(Samsung tab and mobile)
Media Picker Interface For Maui Followed these steps to capture image in my android device(Samsung tablet and Samsung mobile phone with latest API).The app crashes frequently once you capture the image. Tried debugging but no information is retrieved…
Errors MSB3027 and MSB3021, cannot copy file
Hi Visual Studio 2022. Created my first MAUI solution using DevExpress MAUI template. Compiling the solution I get errors given below at the end. I tried several thing, permissions on temp folder, changing temp folder to a different folder/drive. Nothing…
Maui tells me I have a problem but surely it could narrow it down
In my Maui app, I get the message: [0:] Microsoft.Maui.Controls.Element: Warning: Microsoft.Maui.Controls.Label is already a child of Microsoft.Maui.Controls.Grid. Remove Microsoft.Maui.Controls.Label from Microsoft.Maui.Controls.Grid before adding to…
How to distribute MSIX package in Company Portal using Microsoft Intune?
We have developed a .NET MAUI windows application. We have also published the MSIX package from visual studio which also generates certificate and PowerShell scripts. Now we want to distribute that application to the user using company portal. Microsoft…
.NET Maui: how do you process low memory notifications from iOS
iOS sends warnings to an app when it approaches its memory limit. How do you process those warnings in a .NET Maui app? (I see that for Android, .NET Maui supports delegates OnApplicationLowMemory and OnApplicationTrimMemory, but I do not see any such…
System.IO.FileNotFoundException: '' when running app after deployment to Android device
Hi I have suddenly started getting 'System.IO.FileNotFoundException: ''' error. Have deleted bin and obj folders and ran Clean but no luck. How can I fix this please? Thanks Regards
No compatible code running on the thread
I hit F5 and receive error "No compatible code running on the thread" https://github.com/proficad/MauiApp2.App
Can we able to modify the design of toggle switch in maui ?
Need to increase the Black dot size