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?