| title | NuGet Error NU1204 | |
|---|---|---|
| description | NU1204 Error code | |
| author | nkolev92 | |
| ms.date | 02/02/2022 | |
| ms.topic | reference | |
| f1_keywords |
|
Invalid tools package Contoso.Tool 1.0.0. Tools packages cannot contain more than one PackageType.
The Contoso.Tool package has more than one package type. [DotnetTool](../../create-packages/set-package-type.md#known-package-types packages can only contain one PackageType.
Consult the with the package author and ask them to create a package with the DotnetTool package type only.