Skip to content

NETSDK1022: Duplicate items were included - setting for page items should be documentedย #32907

@nickkfwong

Description

@nickkfwong

Hi,
I am working on a WPF project and see this NETSDK1022 error for 'Page' Item as well.

Although VS2022 shows correct suggestion to set 'EnableDefaultPageItems' to false, this page should (probably) also list the usage of it.

Update:
Btw - I realized the property is being described here:
https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props-desktop#enabledefaultpageitems


Document Details

โš  Do not edit this section. It is required for learn.microsoft.com โžŸ GitHub issue linking.


Associated WorkItem - 340918

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions