Monday, August 23, 2010

SharePoint 2010 Master Page not getting deployed

If you copy a master page into your 2010 project and it's not showing up in your master page gallery, make sure in the elements.xml file you have the type as "GhostableInLibrary", like such:

<File Path="Intranet2010.master" Url="Intranet2010.master" Type="GhostableInLibrary" IgnoreIfAlreadyExists="FALSE" />

No comments: