I have a site page that was being deployed within a module that was initially part of one project. I deployed via wsp to my development server and everything was good.
During development I refactored it and moved the page to a different module within a separate project, updated the page and redeployed the wsp to the development server.
Unfortunately for some reason the updated page is not being deployed on development, but instead ignored. I think this is due to the original page being deployed as part of a different feature/module at first and then the same page being moved to a different feature/module.
When I deploy to production the new version of the page gets deployed each time, I believe this is due to the fact that the page was only ever deployed in one feature/module on production.
Has anyone seen this where SP does not deploy a page when it gets moved from one feature/module to another?
Here's what I have in my elements file:
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Module Name="SitePages" Url="SitePages">
<File Path="SitePages\PASSHome.aspx" Url="PASSHome.aspx" Type="GhostableInLibrary" ReplaceContent="TRUE" IgnoreIfAlreadyExists="TRUE" />
<File Path="SitePages\WorkflowStats.aspx" Url="WorkflowStats.aspx" Type="GhostableInLibrary" ReplaceContent="TRUE" IgnoreIfAlreadyExists="TRUE" />
</Module>
</Elements>