Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion docs/core/tools/sdk-errors/netsdk1022.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "NETSDK1022: Duplicate items were included."
description: How to resolve the duplicate item message based on default includes.
author: marcpopMSFT
ms.topic: error-reference
ms.date: 10/9/2020
ms.date: 12/19/2022
f1_keywords:
- NETSDK1022
---
Expand All @@ -22,3 +22,13 @@ Example for `Compile` items:
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
</PropertyGroup>
```

Example for `Page` items in a WPF project:

```xml
<PropertyGroup>
<EnableDefaultPageItems>false</EnableDefaultPageItems>
</PropertyGroup>
```

For more information, see [Errors related to "duplicate" items](../../project-sdk/msbuild-props-desktop.md#errors-related-to-duplicate-items).