Windows version never loads
Opened this issue · 3 comments
Does the mongoDb package support Windows?
Thanx for the issue! I have tested it out now on a couple of projects that I use MongoDB / Atlas (Realm). I cannot get the app to open in Windows. So it seems to be an issue here. I will consider reporting back to MongoDB when I got the time. They have great customer support.
Thanks!
I think this is a Maui regression bug - but don't know. On Windows, it was stuck in MeasureOverride method. Changing LoginPage.xaml to this allowed the project to run on Windows (and all other platforms too).
`
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="TodoMaui.Views.LoginPage"
xmlns:vm="clr-namespace:TodoMaui.ViewModels"
x:DataType="vm:LoginPageVM"
Shell.NavBarIsVisible="false"
Background="{StaticResource Tertiary}"
Title="LoginPage">
<VerticalStackLayout Spacing="25" Padding="30, 0" VerticalOptions="Center">
<Image Source="todologo.svg" Margin="0, 0, 0, 15"/>
<Entry Placeholder="Email" Text="{Binding EmailText}" TextColor="#333"/>
<Entry Placeholder="Password" IsPassword="True" Text="{Binding PasswordText}" TextColor="#333"/>
<Button Text="Login" Command="{Binding LoginCommand}"/>
<Button Text="Create Account" Background="Transparent" TextColor="#EEE" Command="{Binding CreateAccountCommand}"/>
</VerticalStackLayout>
`