Expand Minimize

Define a valid GUID for attribute 'SolutionId' in Solution

The attribute 'SolutionId' in Solution must be a valid GUID. Otherwise the deployment or retraction of the solution may not work properly.

CheckId SPC010103
TypeName DefineSolutionIdAsTypeGUID
Severity Error
Type Solution

Ensure that attribute 'SolutionId' in a Solution is a valid GUID. See sample below (MSDN):

<Solution SolutionId="4AFC1350-F354-4439-B941-51377E845F2B" xmlns="http://schemas.microsoft.com/sharepoint/">
      <FeatureManifest Location="Calls\feature.xml"/>
       <TemplateFile Location="Mobile\HelpDeskHomePage.ascx" />
       <Assembly DeploymentTarget="GlobalAssemblyCache" Location="HelpDeskCoreFeatureReceiver.dll"/>

To suppress this violation in XML SharePoint code add the following comment right before the XML tag which causes the rule violation. Learn more about SuppressMessage here.

<!-- "SuppressMessage":{"rule":"SPC010103:DefineSolutionIdAsTypeGUID","justification":"Provide reason for suppression here"} -->
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.