I have a Feature with Modules that place files in the Master Page Gallery, and I recently added Visual Web Parts to the feature. Then I realized at some point the copying of files into the Gallery had stopped working, so I broke the Solution down into 2 different Features - one with Modules, and one with Visual Web Parts. Then the Gallery copying started working again.
Another strange thing is that the Gallery copying always works from Visual Studio (F5 or Deploy), but not when deploying via stsadm
or Central Admin.
There are no obvious errors in the ULS log when the copying of files into the Master Page Gallery fails. It just looks like the copying isn't performed.
- Does anyone have any ideas about this?
- Should this have worked?
- Why does it work from Visual Studio?
manifest.xml
and thefeature.xml
and theelements.xml
- both the working and non-working package declare the placing of files in the Master Page Gallery in the same way. – MerdePoint Nov 19 '12 at 15:12