MAUI apps with .NET 8 don't work on android
I'm trying to execute on android the demo app created by visual studio when you create a new MAUI .NET 8 project but I encountered different problems in debug and release mode. Visual Studio version : 17.9.5 When I try to run the app in debug it crashes…
How can I make overlapping shapes clickable
Hi, had this problem from time to time since I work with apps for kids. I want to make irraguated shapes that might overlap each others clickable like in this simple example image. How would you do that in .Net Maui? Hope the problem was understandable? …
How to make System.Timers.Timer call async function synchronously when elapsed?
Hello! I am developing a telegram bot using .NET and I am having an issue. I have two timers that execute functions when elapsed. First timer re-posts a message (deletes a message and then posts identical copy, this is a workaround for the fact that…
System.ArgumentException: 'Password not Supported: 'trust server certificate'.'
SqlConnection conn = new SqlConnection(@"Data Source=<SERVERNAME>;User ID=erp;Password=***********;Encrypt=True;Trust Server Certificate=True"); This is the line of code where i get the error, i have tried taking off the Trust Server…
Maui for android pinch gesture container issue
Hello All. I use Ver 17.10 preview 1 and Android Ver 34. I try to add Pinch Gesture Container and I get an error message. As below: What I miss. Please any help. Thank you. //Error I get //MainPage.xaml : XamlC error : Failed to resolve assembly:…
How to add custom file extension in Xamarin.Essentials file picker in all 3 platforms
I want to add custom file extension i.e. ".s37" in file picker filtering options. In UWP with the below code it is working fine but In android and ios not working private async Task SelectFileClicked(object UTType) { var…
UnhandledException not fire in publish(realsed) mode as exe
Hi, Can you please check with sample code in the end of in this link: https://github.com/dotnet/maui/issues/21007 why UnhandledException not work in reeased mode after publish. public partial class App : Application { public App() { …
Unclear exception captured
Hi, The exception captured is mentioning the error on 1st line of the event below. If I remark 1st line of the event, it will further mention the other parts that is after such "if part". I do not know why the exception is making the issue…
Windows Insider SDK not working since 25936
I'm trying to build a simple .NET 6.0 app - Just install the 25936 insider preview SDK then create a blank WPF/.NET 6.0 app and add to the…
Net maui Net 8 how to create Borderless Entry, Editor and Picker handlers
Net maui Net 8 how to create Borderless Entry, Editor and Picker handlers (all platforms) samples.. can you help thanks..
Customize the close/minimize/maximize location
Hi, I tested n it not worked on this link: Can you please check with sample code in the end of in this link: https://github.com/dotnet/maui/issues/21007 I added this code in login page and MyRootPage and is not worked. // override the method of the page…
How to change the ios bundle id in vscode for maui
In Visual Studio, Xamarin Forms apps the Bundle Id is changed by opening the info.plist file and selecting the Application dropdown. The Bundle Id is on that page to change. I need to know how to do the same thing in vscode using the vscode maui…
Creating an IOS app visual studio error
Trying to create a project and when I click create it pops up with an error and I can't seem ti find an answer as to why. Any help please.
Upload & download an excel file from Onedrive using C# razor page
I am trying to upload & download an excel file to Onedrive using c# razor pages and have tried following code snippets, // Install Microsoft.Graph SDK // Install Microsoft.Identity.Client (MSAL) SDK // Authentication var…
How to send complex objects from one Razor page to another
I am working on an ASP.NET Core 6.0 Identity project. I want to pass an ApplicationUser object to the LoginWith2fs.cshtml page from the Login.cshtml page. The following is my code: Code in Login page: return RedirectToPage("./LoginWith2fa",…
ButtonRenderer iOS (PKPaymentButton) crashing for the NaN size error
I'm migrating XF app to MAUI. XF has Apple pay function and has the iOS native Apple pay button. XF app works fine. The below codes bring the error like below. I can tell it's just MAUI does not set the With and Height properly and throw this error.…
Deploying .NET 8 Docker images to Azure Container Instances
Hello, I'm having trouble to deploy an .NET 8 Web App Docker container image to an Azure Container Instance. This is my Dockerfile: FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base USER app WORKDIR /app EXPOSE 8080 EXPOSE 8081 FROM…
How to check if a razor component is called by WPF-Blazor hybrid or Blazor application?
As a razor component can be called in a WPF blazor hybrid or Blazor server/wasm project. Is it able to check if current running application is WPF or Blazor in the razor component? Thanks!
About automatic suggestion and completion of XAML codes on Visual Studio Code
Hello I installed the Visual Studio Code application on my computer. I generally work on C#. But I have a problem. When developing a WPF project and working in XAML files, suggestions of XAML codes are not completed by the compiler in CS files as in C#…
Fixing issues with AOT compilation
Hello! I have a .NET MAUI 8 app that I target for Android, WinUI and iOS. I'm using EF Core (context is in separate project) and SQLite DB that gets created on app launch. The issue is with the iOS version and I'm suspecting the issues is with AOT…