[BUG] C# hot reload for markup not working MacOs
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- csharp
- Área
- frontend, mobile-dev
Línea de trabajo
Comienza con la reproducción MauiApp1 vinculada y el ejemplo copiado de HotReloadHandler, y después comprueba la salida notificada de dotnet watch con las versiones indicadas de MacOS, .NET MAUI y toolkit. Se considera completado cuando se haya identificado y documentado o corregido por qué los cambios de marcado no se reflejan en las ejecuciones descritas para Mac, iOS y Android, incluido el error GetRoute notificado.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is there an existing issue for this?
- I have searched the existing issues
Did you read the "Reporting a bug" section on Contributing file?
- I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug
Current Behavior
I tried following the community toolkit c# markup hot reload page.
But on MacOs i can't get it working for Mac, Ios or android.
Also the example HotReloadHandler has an error on the line: var currentPageShellRoute = AppShell.GetRoute(type);
I don't know what i should use instead.
When i do try running the project nothing changes.
And when using dotnet watch it immediately says: Exited
I use Rider and VsCode, but with both i can't get it working.
Expected Behavior
See changes in the frontend that you made in code.
For example changing text, or the color of something.
Steps To Reproduce
- Create default MAUI app
- install the community toolkit nugets for markup and maui
- add the nugets to the builder, like .UseCommunityToolkitMarkup()
- Delete the xaml files, just keep MainPage.cs
- Create a simple hello world markup
- copy paste the example handler
- make changes to the UI code
- try hot reload
Link to public reproduction project repository
https://github.com/kayverhaegh/MauiApp1
Environment
- .NET MAUI CommunityToolkit maui: 14
- .NET MAUI CommunityToolkit markup: 7
- OS: MacOs 26.2
- .NET MAUI: 10.0.1
Anything else?
No response
- Lenguaje dominante
- C#
- Estrellas
- 596
- Forks
- 39
- Merge medio
- 9 h 36 min
- PR fusionados (30 d)
- 12
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CommunityToolkit/Maui.Markup
-
[Proposal] Automated Setter method for Two-Way Binding and Default BindablePropertiesQuizá libre de nuevo @egvijayanand la tomó hace 717 días y no hay ningún pull request abierto. Abiertoapproved champion proposal
CommunityToolkit/Maui.Markup#345 · 6 comentarios · 2 asignados ·
Los mantenedores suelen responder en 1 día
-
[Proposal] Add `RelativeBindingSource` Support to Typed Bindings ExtensionsQuizá libre de nuevo @TheCodeTraveler la tomó hace 1351 días y no hay ningún pull request abierto. Abiertoblocked champion proposal
CommunityToolkit/Maui.Markup#200 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de CommunityToolkit/Maui.Markup
Issues similares
-
Scaffold marks an association as required when its composite foreign key has a nullable columnAbiertoarea: scaffold status: needs-tests
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
provider:flagd type:fix
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
open-feature/dotnet-sdk-contrib#789 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 72/100
NimblePros/Metronome#23 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
jsboige/CoursIA#28504 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
CustomUnits: Battle Armor squads play tank movement sounds (move-audio default ignores FakeVehicle)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100