NuGet Error NU5034

The PackageLicenseExpressionVersion string '2.0.0-InvalidSystemVersion' is not a valid version.

Issue

The PackageLicenseExpressionVersion string is a System.Version. That means no labels are allowed.

Solution

Change the property value to 2.0.0