SPC012115: Define ReceiverAssembly in Feature correctly

ReceiverAssembly in Feature should contain the full qualified name of the referenced assembly.

TypeName: DefineCorrectReceiverAssemblyInFeature
CheckId: SPC012115
Severity: Error
Type: Feature
Resolution

Change current attribute 'ReceiverAssembly' in Feature to a correct full qualified assembly name. See sample below:

<Feature xmlns="http://schemas.microsoft.com/sharepoint/"
   Id="39FA56C4-7A47-44F5-83CC-01B5E777F436"  
   Title="Feature with Receiver Callback"  
   Scope="Web"  
   ReceiverAssembly="SimpleReceiver, Version=1.0.0.0, Culture=neutral, PublicKeyToken=207e2bf263eeeff6"
   ReceiverClass="MS.Samples.SharePoint.SimpleProvisioner" >
   ...
</Feature>

comments powered by Disqus