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 have 1 application page project and it is deployed. Now I want to make a change to it and deploy it somewhere else (same server and site) without retracting the currently deployed one. From one application page project I want two separate deployments. How do I do this? Having looked in the project properties I do not see any way to change that. I know that it has to be deployed to layouts, as with all application pages, and I tried deploying after changing its name but it still retracted the existing application page.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Application Pages are deployed to the server hard drive in one place for the whole farm. This means you cannot deploy the same page in the same location without affecting the previous deployment.

You would need to create a separate solution that deploys it in a different location (i.e. a different folder within /_layouts).

share|improve this answer
    
Rats! Ah well, I'll just make another solution for the minor changes then..Actually, could I just make it another project in the same solution? Or does it deploy according to solution? –  Josh Apr 9 '13 at 20:15
    
In Visual Studio you can have multiple SharePoint projects in your VS solution. (Solution in VS is different than Solution in SharePoint). –  John Chapman Apr 9 '13 at 20:18

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.