lepoco / lepoco/wpfui

Build errors when using the WPF UI - Compact Navigation Template

Open
#444 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

image
image

OS version

Windows 11

.NET version

.Net 6.0

WPF-UI NuGet version

2.0.2

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.