[BUG] C# hot reload for markup not working MacOs
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- csharp
- 領域
- frontend, mobile-dev
調査の方向性
リンクされている MauiApp1 の再現手順とコピーされた HotReloadHandler の例から始め、次に、記載されている MacOS、.NET MAUI、toolkit のバージョンで報告された dotnet watch の出力を確認します。説明されている Mac、iOS、Android での実行においてマークアップの変更が反映されない理由を特定して記録するか修正し、報告されている GetRoute エラーも含めれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- C#
- スター
- 596
- フォーク
- 39
- 平均マージ
- 9時間 36分
- マージ済み PR(30日)
- 12
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CommunityToolkit/Maui.Markup のほかの issue
-
[Proposal] Automated Setter method for Two-Way Binding and Default BindableProperties再び着手できるかも @egvijayanand が 717 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンapproved champion proposal
CommunityToolkit/Maui.Markup#345 · コメント 6 件 · 担当者 2 名 ·
メンテナーはふだん 1 日以内に返信
-
[Proposal] Add `RelativeBindingSource` Support to Typed Bindings Extensions再び着手できるかも @TheCodeTraveler が 1352 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンblocked champion proposal
CommunityToolkit/Maui.Markup#200 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
CommunityToolkit/Maui.Markup の issue をすべて見る
似ている issue
-
Unit converter reads out of bounds when the saved UnitConverterPreferences setting is malformedオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
microsoft/calculator#2532 ·
-
area: scaffold status: needs-tests
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
provider:flagd type:fix
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
open-feature/dotnet-sdk-contrib#789 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
NimblePros/Metronome#23 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
jsboige/CoursIA#28504 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信