Package
How to create SharePoint package Meta file .. and Why ?
Sometimes we need to know the version of SharePoint wsp package, to achieve this we can add a Meta file to our pacakge, from where we can know some useful information about the package. The effective Meta file – originally – should include the following information:
- Name of the wsp file
- Description
- Version of the wsp file
- Vendor
- Create Date of Release
- If the wsp file is third party or not
To create an effective meta file, follow the below steps
- Select the SharePoint Project you want to add Meta file to
- Right-Click on the Sharpoint Project, Select Add, then Select SharePoint Mapped Folder
- Point to WSP folder, then click OK
- Now the folder WSP is added to the structure of project at the Solution-Explorer, Select the WSP folder, Right-Click on it, Select Add, then New Item
- Add a new blank Text File
- Copy and Paste the below code, in the Text file
<?xml version="1.0" encoding="utf-8" ?>
<WspMeta xmlns="http://">
<Filename>Areslan.Parts.Marquee.wsp</Filename>
<Version>1.0.0.0</Version>
<Vendor>Areslan</Vendor>
<Description>This package contains all artifacts needed for the Areslan Parts Marquee.</Description>
<Created>25/12/2012</Created>
<IsThirdParty>FALSE</IsThirdParty>
<Settings>
</Settings>
</WspMeta>
- The final shape should be like shown below
- Navigate to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG\WSP, you should find all Meta files for all deployed WSP packages.
This entry was posted in Development, Walkthrough and tagged Metadata, Package, SharePoint, Visual Studio.