.NET MAUI
147 TopicsMaui.NET and XCode validation
My application is developed on a Windows PC using Visual Studio 2022 (ver. 17.12.1) and .NET MAUI framework (ver. 9). After a successful build and testing using a virtual iPhone interface, Visual Studio connects remotely to the MacBook (Mac OS 15.1) sending the necessary project files to Xcode 16.1 targeting iOS version 18. The files are sent to Xcode successfully. However, Xcode validation fails with 4 errors. No matter what I change, the same errors persist. These validation errors are preventing me from deploying the code to TestFlight. Apple support refuses to help stating it is a problem with Visual Studio compilation of the package for Xcode. While I am not 100% confident, I suspect that the entries in the plist.info file contained within the project do not agree with where the files are physically located (even though they appear correct. However, I cannot see the key values in the plist file in the Xcode IPA package. I also notice that Maui opted to create entries in the plist.info file for “Assets.xcassets/AppIcon.appiconset”, but according to apple this is not how it should be done anymore. Could anyone provide thespecific changes in detail that need to happen to this project to have a successful XCode validation? I have been at this for two weeks with no solution in site. Below is a link to the referenced resources. Screenshots and Error documents Your help is greatly appreciated22Views0likes0Comments- 38Views0likes2Comments
How to print on Bluetooth printer in dotnet maui
Dear All Can any one tell mw how can I access Blutooth printer in dotnet maui. Can we use Bluetooth printer as COM/LPT port so that we can send text file to print on that port. Or we should use It as Binary writer to print any graphics or PDF file on it. Thanks13KViews0likes3CommentsMAUI APP does not run, android-API34 issue ?
Hi everyone, i'm facing a problem using dotnet 8.0 and Maui. I read that an android api is automatically associated to a dotnet version. So for .Net 8.0 the android api is 34.0 I installed the Maui workload and created a new project, then i ran(build) it without any modifications and all the necessay packages installed without issues But when i go to the generated bin folder and run windows app it does'nt even show up, For android part i installed the signed-apk in virtual device and here is what i get : I found somewhere that this was the api 34 issue, i tried to install .Net 7.0-API 33 and .Net 9.0-API 35.0 but facing the same problem. What should i do now... please help me THNKS!!!368Views0likes2Comments.NET Maui and swift
hi guys, I'm trying to build a .NET Maui class library which exposes some interface that can be used by a macOS swift application.I'm using .NET Maui 8.0 and Xcode 15.4 can someone guide me to how it can be done? here is the example of the interface I want to expose: namespace BridgesServices { public delegate void doAction(string action); public interface IBridgesServices { bool Init(doAction doAction); void SendRequest(string action); } }169Views0likes0CommentsMaui app with multiple Android activities
Really dumb question: How do I create a dot net Maui app with multiple Android activities? I want to create an SMS app, and such an app requires an activity to handle an intent to compose a new sms message. I would like that activity to launch the Maui page used to compose SMS messages, and maybe change the shell navigation tree so that that page is considered the root for that activity. I can't seem to find a simplr description go how to do this.168Views0likes0Commentsbinding property shadows net maui android
Buongiorno a tutti, scusate ma sono molto molto inesperto e non so nemmeno come fare le domande giuste. Volevo chiedere se esiste la possibilità di creare un binding per le proprietà ombra di un controllo (ad esempio un pulsante) Qualcosa che potrebbe assomigliare a questo. Grazie a tutti. Classe: public class Shadows { public string Brush { get; set; } = "Black"; public string Offset { get; set; } = "50,50"; public string Radius { get; set; } = "10"; public string Opacity { get; set; } = "0.7"; } Codice XAML: <Button x:Name="CounterBtn" Text="Click me" SemanticProperties.Hint="Counts the number of times you click" Clicked="OnCounterClicked" BorderColor="DarkBlue" BorderWidth="1" HorizontalOptions="Fill" > <Button.Shadow> <Shadow Brush="{Binding ControlShadow.Brush}" Offset="{Binding ControlShadow.Offset}" Radius="{Binding ControlShadow.Radius}" Opacity="{Binding ControlShadow.Opacity}" /> </Button.Shadow> </Button> Pagina principale: public partial class MainPage : ContentPage { int count = 0; public Shadows ControlShadow { get; set; } public MainPage() { InitializeComponent(); ControlShadow = new Shadows(); BindingContext = this; } } Non funziona come l'ho pubblicato. Grazie molto.132Views0likes0CommentsProblems running application in .Net MAUI after upgrade from .Net 6 to .Net 8
Good morning, The organization I work for has been developing a Maui-Blazor hybrid application. We were able to install it and it was working through our deployment process when we were using .Net 6.0. After the upgrade to .Net 8.0, it will no longer run on some of the machines. We are using Panasonic CF-33 toughbooks with the same clones on them. They have the same hardware specs. We have tried completely uninstalling the application, we've removed any runtimes from .Net and then did complete reinstalls of the runtimes. We've installed .Net Desktop Runtime and the .Net 8 runtime. We've reinstalled the application. There are no errors in the event viewer when we launch the application. When the application is launched from the start menu (either as admin or regular) the cursor spins for a moment and nothing happens. We've added logging in the startup pipeline of the application after we initially documented this behavior and deployed that and it's not even getting to the logging to log anything. Occassionally we get a kernelbase.dll error in the event viewer when launching but it's not consistently there. Some of the machines it opens on and some it doesn't. We are unable to find any discrepancies between the devices ie, same release of windows 10, same runtimes, etc. I would appreciate if anyone could comment on this for some tips or maybe something we could try. I have noticed that through the various installs (incrementing version/release) there are several folders created in the WindowsApps folder that are for the previous versions even if we have uninstalled them. We thought maybe that could be causing a problem. Thanks for your time and hope to hear from someone soon. Have a great day!603Views0likes2Comments