Expand Minimize

SPF019802: Define a version number for your solution

The package-solution.json file doesn't contain the Solution Version property.

CheckId SPF019802
TypeName DefineSolutionVersion
Severity CriticalError
Type PackageSolutionConfig

Each solution should have a version specified in the

solution.id
property.

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.