Build errors when using the WPF UI - Compact Navigation Template
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 9.6k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When creating a new project in VS 2022 using the WPF UI - Compact Navigation template, the application is initially unable to build. This is due to the fact that it appears to be using a deprecated package. The build errors can be fixed by swapping to the package that the deprecated one suggests (Community.Toolkit.MVVM).
To Reproduce
1.) Create a new project with the WPF UI - Compact Navigation template
2.) Build project
Expected behavior
Application should build when using the provided template with no changes made.
Screenshots


OS version
Windows 11
.NET version
.Net 6.0
WPF-UI NuGet version
2.0.2
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Create a new project in Visual Studio 2022 using the WPF UI - Compact Navigation template, then build it under Windows 11 with .NET 6.0 and WPF-UI 2.0.2. Inspect the generated template's package references and update the deprecated package as indicated by the build error; done means the unmodified generated application builds successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system, desktop
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100