I use Mapped Sharepoint Folder, to add a Sharepoint file (versions.aspx) into my solution ( to do a customization ).

If I deactivate the feature, file "versions.aspx" is deleted from Sharepoint (The resource cannot be found. ) ... how can i prevent this situation?



That is the expected behavior for feature deactivation. When you deactivate, SharePoint is cleaning up after itself. If you need to deactivate, and you want the file to remain, then you may want to consider other ways to provision that page.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy