I want to REPLACE the person.aspx page in the OOTB My Sites Host portal in SharePoint 2010
It works perfectly fine if:
- I open My Sites using SharePoint Designer 2010
- DELETE the person.aspx file under 'All Files'
- Deploy a Solution/Feature with a Module component that provisions a new person.aspx file with the changes I require
I 'Deploy' my project with the same Feature and Module component using Visual Studio 2010, because VS 2010 detects a conflict and this effectively runs a 'DELETE' on the existing person.aspx file
If I deploy the exact same thing using the wsp package and Central Administration, it no longer works, because it's not able to 'delete' the existing person.aspx in order to provision my new person.aspx file.
Can someone please help?
What is the magic code that SP Designer and VS 2010 run to be able to delete this file??