ClassResource element (Solution)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Specifies a class resource to include in a solution's assembly.

<ClassResource
  FileName = "Text"
  Location = "Text">
</ClassResource>

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
FileName
Optional Text. The name of the class resource file.
Location
Optional Text. The relative path of the class resource.

Child elements

None

Parent elements

Example

For an example of how this element is used, see Solution schema.