Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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?

Thanks.

share|improve this question
add comment

1 Answer

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.