Error de NuGet NU5035

The PackageLicenseUrl cannot be used in conjunction with the PackageLicenseFile and PackageLicenseExpression.

Problema

Al usar PackageLicenseFile o PackageLicenseExpression, no debe establecer la propiedad PackageLicenseUrl. Las herramientas de cliente generarán automáticamente los metadatos de licenseUrl en una dirección URL descriptiva de nivel descendente.

Solución

No establezca PackageLicenseUrl.