Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Solution Not Deploying Master Pages To Feature Directory

  Asked By: Erik    Date: Oct 11    Category: Sharepoint    Views: 1278

I've a Solution here that deploys a Feature. This Feature is to
install 2 custom Master Pages.

When I deploy the Solution, the correct directory is created under
the FEATURES folder in the 12 HIVE, however, only the feature.xml and
the elements.xml file are placed there. Neither of the 2 Master
Pages are placed there. Below find the contents my .DDF. What am I
missing to make sure the Master Pages are placed in the Feature's



2 Answers Found

Answer #1    Answered By: Jermaine Schmidt     Answered On: Oct 11

I suspect the problem is in your Manifest.xml, not your DDF. Do you have either
a <RootFiles> entry or a <TemplateFiles> entry for the two masterpages  in the
Manifest.xml? They won't be deployed by the solution  just because they are
referenced in the Feature like the elements.xml file  is. They need to be placed
in the correct  Features folder  by the manifest.xml.

Answer #2    Answered By: Tyrone Meyer     Answered On: Oct 11

Isn't this always the case? Wrack my brain trying to figure it out,
post a question, and then I find  it...

I was missing the following from in my feature.xml file, under the
<ElementManifests> node...

<ElementFile Location="neuromedSite.master"/>

Didn't find what you were looking for? Find more on Solution Not Deploying Master Pages To Feature Directory Or get search suggestion and latest updates.