Expand Minimize

SPF019803: Ensure that the solution version number is valid

The package-solution.json file doesn't specify a valid solution version number

CheckId SPF019803
TypeName SpecifyValidSolutionVersion
Severity CriticalError
Type PackageSolutionConfig

Each solution should have a version specified in the solution.id property. The version property must be a valid Version object and must only contain numbers and periods

package-solution.json example

{
    "solution": {
        "name": "your-solution-name",
        "id": "476630d8-3c4a-40ec-8bbd-06e66c745a43",
        "version": "1.0.0.0"
    },
    "paths": {
        "zippedPackage": "solution/your-package-name.sppkg"
    }
}

Disclaimer: The views and opinions expressed in this documentation and in SPCAF do not necessarily reflect the opinions and recommendations of Microsoft or any member of Microsoft. SPCAF and RENCORE are registered trademarks of Rencore. All other trademarks, service marks, collective marks, copyrights, registered names, and marks used or cited by this documentation are the property of their respective owners.