0

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.

1

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).

  • 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

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

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