SPC150208: Reference 15 hive in strings within code |
SPC150208: Reference 15 hive in strings within code |
References in strings in the code to hive folder '/_controltemplates', '/_layouts' and '/_layouts/images/' must be changed accordingly to point to the 15 hive (e.g. by changing to '/_controltemplates/15/').
TypeName: | ReplaceReferencesToOlderHivesInCode |
CheckId: | SPC150208 |
Severity: | Warning |
Type: | AssemblyFileReference |
Change all strings in code which contains '/_controltemplates', '/_layouts' or '/_layouts/images/' to a correct path to 15 hive: '/_controltemplates/15/', '/_layouts/15/' or '/_layouts/15/images/'. See sample below:
Copyright © 2013 RENCORE AB. All Rights Reserved
Disclaimer: The views and opinions expressed in this documentation and in SPCAF are those of the creators and do not necessarily reflect the opinions and recommendations of Microsoft or any member of Microsoft. All trademarks, service marks, collective marks, copyrights, registered names, and marks used or cited by this documentation are the property of their respective owners. SharePoint Code Analysis Framework, Version 4.5.2.7855, see www.spcaf.com for more information |