![Expand Expand](./_img/open.gif)
![Minimize Minimize](./_img/close.gif)
SPC042107: Define attribute 'ReceiverAssembly' in Feature as full qualified assembly name |
If a Feature references an Assembly in attribute 'ReceiverAssembly' the given value should be a full qualified assembly name (e.g. 'System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'). Although the order of the values in the assembly name is not mandatory a well-formed assembly name improves readability of the XML code.
CheckId | SPC042107 |
---|---|
TypeName | DefineFeatureReceiverAssemblyAsFQN |
Severity | CriticalWarning |
Type | Feature |
Change attribute 'ReceiverAssembly' in a Feature to a full qualified assembly name.
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":"SPC042107:DefineFeatureReceiverAssemblyAsFQN","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 AB. 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.