chore(samples): update sample package versions (patch and minor)
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 45/100
- Tipo de issue
- Refatoração
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- csharp, github-actions
- Domínio
- build-system, devops
Direção de pesquisa
Start by reviewing the listed sample project files, Directory.Packages.props, Directory.Build.props, and global.json to confirm each package's current version and scope. Verify the target versions on NuGet, then update only the specified references and run the sample builds available locally; do not install mobile workloads. Done means CI's build-samples.yml jobs pass and the specified package versions match the targets.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Part 2 of the outdated-package sweep (dotnet-outdated 4.8.1, 2026-11-05). Brings the samples up to date for patch and minor versions. Related: #584 / PR #586 already bumped Microsoft.AspNetCore.Components.WebAssembly.Server to 10.0.14 in the Blazor WASM server.
Scope (this PR only)
Only files under samples/. Samples reference published NuGet packages, not the in-repo projects.
Datasync packages: 10.1.0 -> 10.1.2
CommunityToolkit.Datasync.Client, .Server, .Server.EntityFrameworkCore, .Server.InMemory in:
samples/todoapp-tutorial/ClientApp/ClientApp.csproj,samples/todoapp-tutorial/ServerApp/ServerApp.csprojsamples/todoapp-blazor-wasm/TodoApp.BlazorWasm.Client|Server/*.csprojsamples/todoapp-mvc/TodoApp.Service/TodoApp.Service.csprojsamples/todoapp/TodoApp.Avalonia/TodoApp.Avalonia/*.csproj,TodoApp.MAUI,TodoApp.WPF,TodoApp.WinUI3samples/todoapp/TodoApp.Uno/Directory.Packages.props
Microsoft 10.0.9 -> 10.0.14
Microsoft.EntityFrameworkCore, .InMemory, .SqlServer, .Tools, Microsoft.AspNetCore.OpenApi, Microsoft.AspNetCore.Components.WebAssembly and .DevServer (keep PrivateAssets="all"), Microsoft.Extensions.Http, Microsoft.Extensions.DependencyInjection (WinUI3), Microsoft.Extensions.Logging.Debug (MAUI), System.IO.Packaging (Uno props).
Affected: datasync-server/src/Sample.Datasync.Server, todoapp-blazor-wasm/*, todoapp-mvc/TodoApp.Service, todoapp/TodoApp.Avalonia/TodoApp.Avalonia, TodoApp.MAUI, TodoApp.WinUI3, TodoApp.Uno.
Other patches
| Package | Current -> Target | Where |
|---|---|---|
CommunityToolkit.Mvvm |
8.4.0 -> 8.4.2 | tutorial ClientApp, Avalonia, MAUI, WPF, WinUI3 |
SQLitePCLRaw.bundle_e_sqlite3 |
3.0.3 -> 3.0.5 | all client samples + Uno props (keep the NU1903 comment in Uno props; must stay 3.x) |
Avalonia, Avalonia.Desktop, Avalonia.Fonts.Inter, Avalonia.Themes.Fluent, Avalonia.Android, Avalonia.iOS |
12.1.0 -> 12.1.5 | change <AvaloniaVersion> in samples/todoapp/TodoApp.Avalonia/Directory.Build.props only |
CommunityToolkit.WinUI.Behaviors, .Converters |
8.2.250402 -> 8.2.251219 | TodoApp.WinUI3.csproj, Uno props |
Microsoft.Windows.SDK.BuildTools |
10.0.26100.3916 -> 10.0.28000.2957 | TodoApp.WinUI3.csproj (do not change Microsoft.WindowsAppSDK; that is a separate issue) |
Microsoft.Web.LibraryManager.Build |
3.0.71 -> 3.0.114 | todoapp-mvc/TodoApp.Service |
Minor bumps (could not be scanned locally: need mobile workloads; verify via CI only)
| Package | Current -> Target | Where |
|---|---|---|
Microsoft.Maui.Controls |
10.0.40 -> 10.0.120 | TodoApp.MAUI.csproj |
Xamarin.AndroidX.Core.SplashScreen |
1.0.1.15 -> 1.2.0.3 | TodoApp.Avalonia.Android.csproj |
| Uno SDK | 6.5.36 -> 6.7.45 | samples/todoapp/TodoApp.Uno/global.json (msbuild-sdks.Uno.Sdk), not the props file |
If a CI job for MAUI, Uno or Avalonia.Android fails after one of these three bumps and the fix is not trivial, revert that single bump, note it in the PR description, and open a follow-up issue rather than blocking the rest.
Explicitly NOT in this PR
Microsoft.WindowsAppSDK1.7 -> 2.x (separate issue).Microsoft.OData.Core/Edm8.4.3 indatasync-serveranddatasync-server-cosmosdb-singlecontainer: bump to 8.4.4 only (patch, same line), not 9.0.0 (separate blocked issue).Refit8.0.0 inTodoApp.Uno/Directory.Packages.props: there is noPackageReferenceto it in the csproj (it is an Uno SDK implicit package version). The reported "latest 16.4.0" is a different version scheme; leave unchanged and mention in the PR.
Steps
- Verify target versions exist on NuGet (
https://api.nuget.org/v3-flatcontainer/<lowercase-id>/index.json). - Make the edits. Samples cannot all be built locally (per
AGENTS.md: do not install workloads). Locally build only what works, e.g.cd samples/todoapp-blazor-wasm && dotnet build TodoApp.BlazorWasm.sln,samples/todoapp-tutorial,samples/todoapp-mvc/part5.sln,samples/datasync-server. - Push the branch to the fork and dispatch
build-samples.ymlwith--ref <branch>; watch all jobs plusall-samples-built(~6-8 min). - Re-run
dotnet-outdatedon each sample solution (useEnableWindowsTargeting=truefor WPF/WinUI3) and confirm only the explicitly excluded packages remain.
Acceptance criteria
- Packages above at target versions;
build-samples.ymlall green. - No vulnerability warnings (NU190x) in sample restores.
- PR title:
chore(samples): update sample package versions.
- Linguagem predominante
- C#
- Estrelas
- 184
- Forks
- 48
- Merge médio
- 21min
- PRs com merge (30d)
- 7
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de CommunityToolkit/Datasync
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
CommunityToolkit/Datasync#600 · 1 comentário ·
-
Blocked dependencies Server
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 25/100
CommunityToolkit/Datasync#594 ·
-
dependencies Examples
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 40/100
CommunityToolkit/Datasync#593 ·
-
dependencies Infrastructure
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 72/100
CommunityToolkit/Datasync#592 ·
-
dependencies Infrastructure
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
CommunityToolkit/Datasync#591 ·
Todas as issues de CommunityToolkit/Datasync
Issues semelhantes
-
enhancement needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
microsoft/microsoft-ui-reactor#1460 ·
Mantenedores costumam responder em até 1 dia
-
t/bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
dotnet/maui#39950 · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
NimblePros/deviq-hugo#121 ·
Mantenedores costumam responder em até 1 dia
-
RANDOM_REPLACE does not keep the date format when the month abbreviation has a trailing periodAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
philterd/phileas-dotnet#188 ·
-
enhancement triaged
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
nikneem/sessionize-api-client#55 · 3 comentários ·